diff options
author | Andrew F. Davis <afd@ti.com> | 2016-06-21 14:40:11 +0200 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2016-06-27 08:58:42 +0200 |
commit | fca23e47dfdbcdacaae523f8b87d2240ce056ac1 (patch) | |
tree | 7bafdb19dcf4e92bae98f39d27739532e20e298e /tools/arch/x86 | |
parent | fed758f6b78a84be4c8e2d944e183bf47daf4cbf (diff) | |
download | op-kernel-dev-fca23e47dfdbcdacaae523f8b87d2240ce056ac1.zip op-kernel-dev-fca23e47dfdbcdacaae523f8b87d2240ce056ac1.tar.gz |
leds: Add no-op gpio_led_register_device when LED subsystem is disabled
Some systems use 'gpio_led_register_device' to make an in-memory copy of
their LED device table so the original can be removed as .init.rodata.
When the LED subsystem is not enabled source in the led directory is not
built and so this function may be undefined. Fix this here.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'tools/arch/x86')
0 files changed, 0 insertions, 0 deletions