]> Gentwo Git Trees - linux/.git/commit
macintosh/via-pmu-backlight: Include <linux/fb.h> and <linux/of.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 27 Oct 2025 14:05:41 +0000 (15:05 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Dec 2025 10:55:07 +0000 (21:55 +1100)
commit9b36c7fc5aa5f2c6e6eeb9f312fdfe61b4291c9f
tree0de56ddf0ec8999ceecd57b8549fc6c4c8c00a06
parent8d398324967a6e380e92a82e28581ac1e1c2982f
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: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 243ce64b2b37 ("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>
drivers/macintosh/via-pmu-backlight.c