30f0b40844
This definition produces processor specific code in generic function pxa_gpio_mode(), thus creating inconsistencies for support of pxa25x and pxa27x in a single zImage. As David Brownell suggests, make it a run-time variable and initialize at run-time according to the number of GPIOs on the processor. For now the initialization happens in pxa_init_irq_gpio(), since there is already a parameter for that, besides, this is and MUST be earlier than any subsequent calls to pxa_gpio_mode(). Signed-off-by: eric miao <eric.y.miao@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
akita.h | ||
audio.h | ||
bitfield.h | ||
corgi.h | ||
debug-macro.S | ||
dma.h | ||
entry-macro.S | ||
gpio.h | ||
hardware.h | ||
i2c.h | ||
idp.h | ||
io.h | ||
irda.h | ||
irqs.h | ||
lpd270.h | ||
lubbock.h | ||
mainstone.h | ||
memory.h | ||
mmc.h | ||
mtd-xip.h | ||
ohci.h | ||
pm.h | ||
poodle.h | ||
pxa-regs.h | ||
pxa2xx_spi.h | ||
pxa27x_keyboard.h | ||
pxafb.h | ||
sharpsl.h | ||
spitz.h | ||
ssp.h | ||
system.h | ||
timex.h | ||
tosa.h | ||
trizeps4.h | ||
udc.h | ||
uncompress.h | ||
vmalloc.h |