[PATCH 14/74] ST SPEAr: Adding PLGPIO driver for spear platform
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Sep 2 05:13:41 EDT 2010
On Mon, Aug 30, 2010 at 04:08:45PM +0530, Viresh KUMAR wrote:
> diff --git a/arch/arm/plat-spear/plgpio.c b/arch/arm/plat-spear/plgpio.c
> new file mode 100644
> index 0000000..847ff9c
> --- /dev/null
> +++ b/arch/arm/plat-spear/plgpio.c
> @@ -0,0 +1,453 @@
> +/*
> + * arch/arm/plat-spear/plgpio.c
> + *
> + * SPEAr platform PLGPIO driver source file
> + *
> + * Copyright (C) 2010 ST Microelectronics
> + * Viresh Kumar<viresh.kumar at st.com>
> + *
> + * This file is licensed under the terms of the GNU General Public
> + * License version 2. This program is licensed "as is" without any
> + * warranty of any kind, whether express or implied.
> + */
> +
> +#include <linux/bitops.h>
> +#include <linux/kernel.h>
> +#include <linux/spinlock.h>
> +#include <linux/errno.h>
> +#include <linux/module.h>
> +#include <linux/io.h>
> +#include <linux/ioport.h>
> +#include <linux/irq.h>
> +#include <linux/gpio.h>
> +#include <linux/slab.h>
> +#include <linux/platform_device.h>
> +#include <mach/gpio.h>
You're already including linux/gpio.h, which means mach/gpio.h will already
be included.
More information about the linux-arm-kernel
mailing list