[PATCH 1/2] ARM: i.MX6: set ARCH_NR_GPIO to 244
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon Jul 30 10:29:08 EDT 2012
On Mon, Jul 30, 2012 at 04:46:07PM +0800, Shawn Guo wrote:
> On Mon, Jul 30, 2012 at 08:40:58AM +0200, Dirk Behme wrote:
> > - Do you like to propose a better macro than SOC_IMX6Q to cover
> > imx3/imx6, too?
> >
> No, I do not see the need of this. CONFIG_ARCH_NR_GPIO is not the only
> way to overwrite the default number. We can define ARCH_NR_GPIOS to
> the number we want in IMX platform headers.
Don't do that. CONFIG_ARCH_NR_GPIO is there so that we can consolidate
out as much crap from mach/gpio.h as possible. Either use it now, or I
will patch you to make you use it. Either way, you will end up using
it... :)
More information about the linux-arm-kernel
mailing list