On Mon, Dec 10, 2007 at 11:48:25PM +0300, Anton Vorontsov wrote: > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig > index 232c298..596982f 100644 > --- a/arch/powerpc/Kconfig > +++ b/arch/powerpc/Kconfig > @@ -73,6 +73,10 @@ config GENERIC_FIND_NEXT_BIT > bool > default y > > +config GENERIC_GPIO > + bool > + default n > +
default n is the default. No need to explicitly state it. > + > +int __of_parse_gpio_bank_pin(struct device_node *np, int index, > + int bank_width, int max_bank) Why the leading underscores? > diff --git a/include/asm-powerpc/gpio.h b/include/asm-powerpc/gpio.h > new file mode 100644 > index 0000000..f7513ff > --- /dev/null > +++ b/include/asm-powerpc/gpio.h > @@ -0,0 +1,51 @@ > +/* > + * Generic GPIO API implementation for PowerPC. Is there anything really powerpc specific here, or should it go under drivers/of? -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev