mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
e4ecf2bda2
The LEDs were initialized unconditionally with an fs_initcall() which doesn't play well with multiplatform. Convert the driver to a platform device and convert all boards with these LEDs to register a platform device and pass the register as a resource instead. Tested successfully on the Versatile/AB and RealView PB1176. Cc: Bryan Wu <cooloney@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Russell King <linux@arm.linux.org.uk> Cc: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> |
||
---|---|---|
.. | ||
include/mach | ||
core.c | ||
core.h | ||
hotplug.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
platsmp.c | ||
realview_eb.c | ||
realview_pb11mp.c | ||
realview_pb1176.c | ||
realview_pba8.c | ||
realview_pbx.c |