linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: lee@kernel.org, danielt@kernel.org, jingoohan1@gmail.com,
	neil.armstrong@linaro.org, jessica.zhang@oss.qualcomm.com,
	deller@gmx.de, maarten.lankhorst@linux.intel.com,
	mripard@kernel.org, airlied@gmail.com, simona@ffwll.ch,
	fnkl.kernel@gmail.com, j@jannau.net, hdegoede@redhat.com,
	ilpo.jarvinen@linux.intel.com, sven@kernel.org,
	alyssa@rosenzweig.io, neal@gompa.dev,
	support.opensource@diasemi.com, duje.mihanovic@skole.hr
Cc: dri-devel@lists.freedesktop.org, asahi@lists.linux.dev,
	platform-driver-x86@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-fbdev@vger.kernel.org,
	Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH v2 14/15] backlight: rt4831: Include <linux/mod_devicetable.h>
Date: Tue, 15 Jul 2025 14:24:51 +0200	[thread overview]
Message-ID: <20250715122643.137027-15-tzimmermann@suse.de> (raw)
In-Reply-To: <20250715122643.137027-1-tzimmermann@suse.de>

Include <linux/mod_devicetable.h> to declare struct of_device_id.
Avoids dependency on backlight header to include it.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/video/backlight/rt4831-backlight.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/backlight/rt4831-backlight.c b/drivers/video/backlight/rt4831-backlight.c
index 7ead75929a43..26214519bfce 100644
--- a/drivers/video/backlight/rt4831-backlight.c
+++ b/drivers/video/backlight/rt4831-backlight.c
@@ -4,6 +4,7 @@
 #include <linux/backlight.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/property.h>
-- 
2.50.0



  parent reply	other threads:[~2025-07-15 13:34 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15 12:24 [PATCH v2 00/15] backlight: Do not include <linux/fb.h> in header file Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 01/15] platform/x86: dell-uart-backlight: Use blacklight power constant Thomas Zimmermann
2025-07-21 11:43   ` Ilpo Järvinen
2025-07-21 19:42     ` Thomas Zimmermann
2025-07-22 13:03       ` Ilpo Järvinen
2025-07-15 12:24 ` [PATCH v2 02/15] drm/panel: panel-samsung-s6e63m0: Include <linux/of.h> Thomas Zimmermann
2025-07-15 13:19   ` Simona Vetter
2025-07-15 23:43   ` Sebastian Reichel
2025-07-16  6:37     ` Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 03/15] drm/panel: panel-samsung-s6e88a0-ams427ap24: " Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 04/15] drm/panel: panel-summit: " Thomas Zimmermann
2025-07-15 13:28   ` Rob Herring
2025-07-15 12:24 ` [PATCH v2 05/15] fbcon: Add necessary include statements and forward declarations Thomas Zimmermann
2025-07-15 13:20   ` Simona Vetter
2025-07-15 12:24 ` [PATCH v2 06/15] backlight: Include <linux/of.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 07/15] backlight: apple_dwi_bl: Include <linux/mod_devicetable.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 08/15] backlight: as3711_bl: Include <linux/of.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 09/15] backlight: da9052_bl: Include <linux/mod_devicetable.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 10/15] backlight: jornada720: Include <linux/io.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 11/15] backlight: ktd2801: Include <linux/mod_devicetable.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 12/15] backlight: led_bl: Include <linux/of.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 13/15] backlight: rave-sp: Include <linux/of.h> and <linux/mod_devicetable.h> Thomas Zimmermann
2025-07-15 13:34   ` Rob Herring
2025-07-16  6:39     ` Thomas Zimmermann
2025-07-15 12:24 ` Thomas Zimmermann [this message]
2025-07-15 12:24 ` [PATCH v2 15/15] backlight: Do not include <linux/fb.h> in header file Thomas Zimmermann
2025-07-15 13:22   ` Simona Vetter
2025-07-16  6:44     ` Thomas Zimmermann
  -- strict thread matches above, loose matches on Subject: below --
2025-06-24 13:45 [PATCH v2 00/15] " Thomas Zimmermann
2025-06-24 13:45 ` [PATCH v2 14/15] backlight: rt4831: Include <linux/mod_devicetable.h> 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=20250715122643.137027-15-tzimmermann@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@gmail.com \
    --cc=alyssa@rosenzweig.io \
    --cc=asahi@lists.linux.dev \
    --cc=danielt@kernel.org \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=duje.mihanovic@skole.hr \
    --cc=fnkl.kernel@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=j@jannau.net \
    --cc=jessica.zhang@oss.qualcomm.com \
    --cc=jingoohan1@gmail.com \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neal@gompa.dev \
    --cc=neil.armstrong@linaro.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=simona@ffwll.ch \
    --cc=support.opensource@diasemi.com \
    --cc=sven@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).