Re: [PATCH] au1000: convert to using gpiolib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Florian,

On Fri, Jan 16, 2009 at 11:10:25AM +0100, Florian Fainelli wrote:
> > Can you please make the gpiolib registration dependent on a
> > CONFIG symbol?  I.e. make the au1000_gpio{,2}_direction() and
> > friends calls globally visible but let the individual boards
> > decide whether they want to use the gpio numbering imposed by
> > this patch.
> 
> 
> Would something like #ifdef CONFIG_AU1000_NON_STD_GPIOS be ok with you ?
> Or maybe we could get the base information from board-specific code ?

Well, we could move the core_initcall() to all boards' setup function,
and stick a comment on top of it explaining why it's there.

Config symbol or the above, either is fine with me.

Thanks!
	Manuel Lauss


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux