Messages in this thread | | | Date | Tue, 8 Dec 2009 11:23:51 +0100 | From | Pavel Machek <> | Subject | Re: dream: glue for mmc controller |
| |
On Sun 2009-11-08 09:10:10, Russell King - ARM Linux wrote: > On Sun, Nov 08, 2009 at 09:13:14AM +0100, Pavel Machek wrote: > > > > +#include <asm/io.h> > > > > +#include <asm/gpio.h> > > > linux/gpio.h > > > linux/io.h > > > > I got compile errors when trying to use linux/gpio.h: > > > > arch/arm/mach-msm/board-dream-gpio.c: In function > > 'dream_gpio_configure': > > arch/arm/mach-msm/board-dream-gpio.c:109: error: 'GPIOF_OUTPUT_LOW' > > undeclared (first use in this function) > > This means it's abusing the gpio header files - which are intended for > the generic GPIO support, but are being used for this platforms private > non-generic GPIO based stuff.
Ok, will fix. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |