[alsa-devel] [PATCH 2/2] gpio: include linux/gpio.h where needed

Grant Likely grant.likely at secretlab.ca
Thu Jun 16 16:37:12 CEST 2011


On Tue, Jun 14, 2011 at 05:06:02PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap at oracle.com>
> 
> 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 at oracle.com>

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>
>  


More information about the Alsa-devel mailing list