Re: [PATCH] gpio: basic_mmio: add missing include of spinlock_types.h

From: Jamie Iles
Date: Fri Jun 10 2011 - 08:48:26 EST


On Fri, Jun 10, 2011 at 01:44:49PM +0100, Jamie Iles wrote:
> include/linux/basic_mmio_gpio.h uses a spinlock_t without including any
> of the spinlock headers resulting in this compiler warning.
>
> include/linux/basic_mmio_gpio.h:51:2: error: expected specifier-qualifier-list before 'spinlock_t'
>
> Explicitly include linux/spinlock_types.h to fix it.

Sorry, wrong patch. Here's the correct one.

Jamie

8<---