backlight: extend of_find_backlight_by_node stub-check to modules
From: Heiko Stuebner <heiko@...> Date: Tue, 4 Nov 2014 00:53:43 +0100
Commit-Message
Commit de3d75dc2311 ("backlight: Use of_find_backlight_by_node stub when backlight class disabled") did not take into account that the backlight class can also be compiled as module. Extend the check to prevent redefinition warnings when the backlight device class is compiled as module. Reported-by: kbuild test robot Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
include/linux/backlight.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Statistics
- 2 lines added
- 1 lines removed