[PATCH] add gpiolib support for mpc5200

Anton Vorontsov avorontsov at ru.mvista.com
Fri Apr 25 23:07:37 EST 2008


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: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2



More information about the Linuxppc-dev mailing list