From: Thomas Zimmermann Date: Mon, 27 Oct 2025 14:05:41 +0000 (+0100) Subject: macintosh/via-pmu-backlight: Include and X-Git-Tag: v6.19-rc1~106^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b36c7fc5aa5f2c6e6eeb9f312fdfe61b4291c9f;p=thirdparty%2Flinux.git macintosh/via-pmu-backlight: Include and Include and to avoid dependency on backlight header to include them. Declares of_machine_is_compatible() and defines FB_BACKLIGHT_MAX. Signed-off-by: Thomas Zimmermann Fixes: 243ce64b2b37 ("backlight: Do not include in header file") Reported-by: Naresh Kamboju Reviewed-by: Daniel Thompson (RISCstar) Closes: https://lore.kernel.org/linuxppc-dev/CA+G9fYs8fn5URQx2+s2oNxdUgZkSrdLC0P1tNBW_n-6BaBkK2Q@mail.gmail.com/ Signed-off-by: Michael Ellerman --- diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c index 26bd9ed5e6645..d91825bb0a5c6 100644 --- a/drivers/macintosh/via-pmu-backlight.c +++ b/drivers/macintosh/via-pmu-backlight.c @@ -11,6 +11,8 @@ #include #include #include +#include +#include #include #include