Skip to content
Commit fca23e47 authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Jacek Anaszewski
Browse files

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: default avatarAndrew F. Davis <afd@ti.com>
Signed-off-by: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
parent fed758f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment