[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240304095512.742348-1-jani.nikula@intel.com>
Date: Mon, 4 Mar 2024 11:55:12 +0200
From: Jani Nikula <jani.nikula@...el.com>
To: Michael Ellerman <mpe@...erman.id.au>,
linuxppc-dev@...ts.ozlabs.org
Cc: jani.nikula@...el.com,
dri-devel@...ts.freedesktop.org,
lkft-triage@...ts.linaro.org,
linux-kernel@...r.kernel.org,
Naresh Kamboju <naresh.kamboju@...aro.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Helge Deller <deller@....de>,
linux-fbdev@...r.kernel.org
Subject: [PATCH] powerpc: include linux/backlight.h from asm/backlight.h
Removal of the backlight include from fb.h uncovered an implicit
dependency in powerpc asm/backlight.h. Add the explicit include.
Reported-by: Naresh Kamboju <naresh.kamboju@...aro.org>
Closes: https://lore.kernel.org/r/CA+G9fYsAk5TbqqxFC2W4oHLGA0CbTHMxbeq8QayFXTU75YiueA@mail.gmail.com
Fixes: 11b4eedfc87d ("fbdev: Do not include <linux/backlight.h> in header")
Cc: Thomas Zimmermann <tzimmermann@...e.de>
Cc: Helge Deller <deller@....de>
Cc: linux-fbdev@...r.kernel.org
Signed-off-by: Jani Nikula <jani.nikula@...el.com>
---
Not even compile tested!
---
arch/powerpc/include/asm/backlight.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/include/asm/backlight.h b/arch/powerpc/include/asm/backlight.h
index 1b5eab62ed04..275d5bb9aa04 100644
--- a/arch/powerpc/include/asm/backlight.h
+++ b/arch/powerpc/include/asm/backlight.h
@@ -10,6 +10,7 @@
#define __ASM_POWERPC_BACKLIGHT_H
#ifdef __KERNEL__
+#include <linux/backlight.h>
#include <linux/fb.h>
#include <linux/mutex.h>
--
2.39.2
Powered by blists - more mailing lists