Re: [PATCH 2/2] gpio: include linux/gpio.h where needed

From: Grant Likely
Date: Thu Jun 16 2011 - 10:37:25 EST


On Tue, Jun 14, 2011 at 05:06:02PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> Some files use GPIOF_ macros but don't include the header file
> for them. These macros are being moved to <linux/gpio.h>, so add
> includes for <linux/gpio.h> where needed.
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Applied, thanks.

g.

> ---
> arch/arm/mach-pxa/spitz_pm.c | 1 +
> drivers/pcmcia/pxa2xx_vpac270.c | 1 +
> 2 files changed, 2 insertions(+)
>
> --- linux-next-20110614.orig/arch/arm/mach-pxa/spitz_pm.c
> +++ linux-next-20110614/arch/arm/mach-pxa/spitz_pm.c
> @@ -14,6 +14,7 @@
> #include <linux/init.h>
> #include <linux/kernel.h>
> #include <linux/delay.h>
> +#include <linux/gpio.h>
> #include <linux/interrupt.h>
> #include <linux/platform_device.h>
> #include <linux/apm-emulation.h>
> --- linux-next-20110614.orig/drivers/pcmcia/pxa2xx_vpac270.c
> +++ linux-next-20110614/drivers/pcmcia/pxa2xx_vpac270.c
> @@ -11,6 +11,7 @@
> *
> */
>
> +#include <linux/gpio.h>
> #include <linux/module.h>
> #include <linux/platform_device.h>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/