public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse•de>
To: mpe@ellerman•id.au, jani.nikula@intel•com,
	naresh.kamboju@linaro•org, deller@gmx•de, npiggin@gmail•com,
	christophe.leroy@csgroup•eu, aneesh.kumar@kernel•org,
	naveen.n.rao@linux•ibm.com
Cc: linux-fbdev@vger•kernel.org, linux-kernel@vger•kernel.org,
	lkft-triage@lists•linaro.org, dri-devel@lists•freedesktop.org,
	Thomas Zimmermann <tzimmermann@suse•de>,
	linuxppc-dev@lists•ozlabs.org
Subject: [PATCH v3 1/3] fbdev/chipsfb: Include <linux/backlight.h>
Date: Wed,  6 Mar 2024 13:28:18 +0100	[thread overview]
Message-ID: <20240306122935.10626-2-tzimmermann@suse.de> (raw)
In-Reply-To: <20240306122935.10626-1-tzimmermann@suse.de>

Fix builds with CONFIG_PMAC_BACKLIGHT=y. The include statement for
the backlight header has recently been removed from <linux/fb.h>.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro•org>
Closes: https://lore.kernel.org/dri-devel/CA+G9fYsAk5TbqqxFC2W4oHLGA0CbTHMxbeq8QayFXTU75YiueA@mail.gmail.com/
Signed-off-by: Thomas Zimmermann <tzimmermann@suse•de>
Fixes: 11b4eedfc87d ("fbdev: Do not include <linux/backlight.h> in header")
Reviewed-by: Jani Nikula <jani.nikula@intel•com>
Cc: Thomas Zimmermann <tzimmermann@suse•de>
Cc: Jani Nikula <jani.nikula@intel•com>
Cc: Helge Deller <deller@gmx•de>
Cc: linux-fbdev@vger•kernel.org
Cc: dri-devel@lists•freedesktop.org
---
 drivers/video/fbdev/chipsfb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/fbdev/chipsfb.c b/drivers/video/fbdev/chipsfb.c
index b80711f13df8a..b16a905588fed 100644
--- a/drivers/video/fbdev/chipsfb.c
+++ b/drivers/video/fbdev/chipsfb.c
@@ -15,6 +15,7 @@
  */
 
 #include <linux/aperture.h>
+#include <linux/backlight.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
-- 
2.44.0


  reply	other threads:[~2024-03-06 12:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 12:28 [PATCH v3 0/3] arch/powerpc: Resolve backlight include dependencies Thomas Zimmermann
2024-03-06 12:28 ` Thomas Zimmermann [this message]
2024-03-06 12:28 ` [PATCH v3 2/3] macintosh/via-pmu-backlight: Include <linux/backlight.h> Thomas Zimmermann
2024-03-06 12:28 ` [PATCH v3 3/3] arch/powerpc: Remove <linux/fb.h> from backlight code Thomas Zimmermann
2024-03-07 10:33   ` Michael Ellerman
2024-03-07  8:59 ` [PATCH v3 0/3] arch/powerpc: Resolve backlight include dependencies Thomas Zimmermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240306122935.10626-2-tzimmermann@suse.de \
    --to=tzimmermann@suse$(echo .)de \
    --cc=aneesh.kumar@kernel$(echo .)org \
    --cc=christophe.leroy@csgroup$(echo .)eu \
    --cc=deller@gmx$(echo .)de \
    --cc=dri-devel@lists$(echo .)freedesktop.org \
    --cc=jani.nikula@intel$(echo .)com \
    --cc=linux-fbdev@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=lkft-triage@lists$(echo .)linaro.org \
    --cc=mpe@ellerman$(echo .)id.au \
    --cc=naresh.kamboju@linaro$(echo .)org \
    --cc=naveen.n.rao@linux$(echo .)ibm.com \
    --cc=npiggin@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox