Skip to content

Commit 8d39832

Browse files
tdzmpe
authored andcommitted
powerpc/powermac: backlight: Include <linux/of.h>
Include <linux/of.h> to avoid dependency on backlight header to include it. Declares of_find_node_by_name(), of_property_match_string() and of_node_put(). Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Fixes: 243ce64 ("backlight: Do not include <linux/fb.h> in header file") Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org> Closes: https://lore.kernel.org/linuxppc-dev/CA+G9fYs8fn5URQx2+s2oNxdUgZkSrdLC0P1tNBW_n-6BaBkK2Q@mail.gmail.com/ Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent 5b3a426 commit 8d39832

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/powerpc/platforms/powermac/backlight.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <linux/kernel.h>
1212
#include <linux/backlight.h>
1313
#include <linux/adb.h>
14+
#include <linux/of.h>
1415
#include <linux/pmu.h>
1516
#include <linux/atomic.h>
1617
#include <linux/export.h>

0 commit comments

Comments
 (0)