[PATCH] Voipac PXA270

Marek Vasut marek.vasut at gmail.com
Wed Mar 10 10:20:16 EST 2010


Dne St 10. března 2010 14:35:29 Daniel Mack napsal(a):
> On Wed, Mar 10, 2010 at 12:37:26PM +0100, Marek Vasut wrote:
> > Dne St 10. března 2010 07:18:40 Mike Rapoport napsal(a):
> > > Do these defines really deserve dedicated .h file? Why cannot they live
> > > in the arch/arm/mach-pxa/vpac270.c?
> >
> > I'm not moving this in. I dont want to polute the .c file with stuff that
> > should obviously go into the header file. Besides there'll be more GPIOs
> > defined and that'd make the .c file less readable, which I want to avoid.
> 
> The question is - are they shared? If they're not and will never be used
> by anything else then this .c file, I'd also vote for not having an
> extra header file for them.
> 
> Daniel
> 
Yes, they are used in the PCMCIA driver. And I'd rather avoid having GPIO 
definitions scattered across multiple files.



More information about the linux-arm-kernel mailing list