backlight: use of_find_backlight_by_node stub when backlight class disabled
From: Heiko Stuebner <heiko@...> Date: Wed, 29 Oct 2014 01:13:36 +0100
Commit-Message
Drivers may want to search for an optional backlight even when the backlight class is disabled. In this case the linker would miss the function referenced in the backlight header. Therefore use the stub function also when the backlight class is disabled. Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
include/linux/backlight.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Statistics
- 1 lines added
- 1 lines removed