[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101014190133.GB1009@kroah.com>
Date: Thu, 14 Oct 2010 12:01:33 -0700
From: Greg KH <greg@...ah.com>
To: Manuel Stahl <manuel.stahl@....fraunhofer.de>
Cc: linux-serial@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH resend] Add sc16is7x2 driver
On Thu, Oct 07, 2010 at 10:15:07AM +0200, Manuel Stahl wrote:
> --- /dev/null
> +++ b/include/linux/spi/sc16is7x2.h
> @@ -0,0 +1,17 @@
> +#ifndef LINUX_SPI_SC16IS752_H
> +#define LINUX_SPI_SC16IS752_H
> +
> +#define SC16IS7X2_NR_GPIOS 8
> +
> +struct sc16is7x2_platform_data {
> + unsigned int uartclk;
> + /* uart line number of the first channel */
> + unsigned uart_base;
> + /* number assigned to the first GPIO */
> + unsigned gpio_base;
> + char *label;
> + /* list of GPIO names (array length = SC16IS7X2_NR_GPIOS) */
> + const char *const *names;
> +};
> +
> +#endif
Why is this needed in a .h file? What other .c file uses this define
and structure?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists