mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
e6b03ab63b
When called from prom init code, ar7_gpio_init() will fail as it will
call gpiochip_add() which relies on a working kmalloc() to alloc
the gpio_desc array and kmalloc is not useable yet at prom init time.
Move ar7_gpio_init() to ar7_register_devices() (a device_initcall)
where kmalloc works.
Fixes:
|
||
---|---|---|
.. | ||
clock.c | ||
gpio.c | ||
irq.c | ||
Makefile | ||
memory.c | ||
Platform | ||
platform.c | ||
prom.c | ||
setup.c | ||
time.c |