[PATCH 4/5] [POWERPC] QE: implement support for the GPIO LIB API

Anton Vorontsov cbouatmailru at gmail.com
Fri Apr 18 08:41:06 EST 2008


On Thu, Apr 17, 2008 at 05:35:53PM -0500, Kumar Gala wrote:
>> index a3f9c3f..a4a195a 100644
>> --- a/arch/powerpc/sysdev/qe_lib/qe_io.c
>> +++ b/arch/powerpc/sysdev/qe_lib/qe_io.c
>> @@ -20,7 +20,8 @@
>> #include <linux/errno.h>
>> #include <linux/module.h>
>> #include <linux/ioport.h>
>> -
>> +#include <linux/spinlock.h>
>> +#include <linux/of_gpio.h>
>> #include <asm/io.h>
>> #include <asm/qe.h>
>> #include <asm/prom.h>
>> @@ -214,6 +215,140 @@ int par_io_of_config(struct device_node *np)
>> }
>> EXPORT_SYMBOL(par_io_of_config);
>
> can we split this out into a new file since its pretty much a driver.

No problem. Would you prefer this to go under drivers/gpio/ ?

-- 
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2



More information about the Linuxppc-dev mailing list