Commit 9b36c7fc authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Michael Ellerman
Browse files

macintosh/via-pmu-backlight: Include <linux/fb.h> and <linux/of.h>



Include <linux/fb.h> and <linux/of.h> to avoid dependency on backlight
header to include them. Declares of_machine_is_compatible() and defines
FB_BACKLIGHT_MAX.

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Fixes: 243ce64b ("backlight: Do not include <linux/fb.h> in header file")
Reported-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
Reviewed-by: default avatarDaniel Thompson (RISCstar) <danielt@kernel.org>
Closes: https://lore.kernel.org/linuxppc-dev/CA+G9fYs8fn5URQx2+s2oNxdUgZkSrdLC0P1tNBW_n-6BaBkK2Q@mail.gmail.com/


Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 8d398324
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@
#include <asm/ptrace.h>
#include <linux/adb.h>
#include <linux/backlight.h>
#include <linux/fb.h>
#include <linux/of.h>
#include <linux/pmu.h>
#include <asm/backlight.h>