On 9/2/2010 2:43 PM, Russell King - ARM Linux wrote: >> +#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. > . > Correct. Will remove mach/gpio.h