On Thu, Apr 24, 2008 at 05:36:59PM +0200, Sascha Hauer wrote: > +#include <linux/of.h> > +#include <linux/kernel.h> > +#include <linux/of_gpio.h> > +#include <linux/io.h> > +#include <asm/of_platform.h> > +#include <asm/prom.h> > +#include <asm/gpio.h>
In the latest kernels the preferred way is to include <linux/gpio.h>, the patch introducing it was merged just recently, so few people know about it yet. -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev