From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
Helge Deller <deller@gmx.de>, Tony Lindgren <tony@atomide.com>,
Sebastian Reichel <sre@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
linux-omap@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: [PATCH 10/13] omapfb: encoder-opa362: fix included headers
Date: Thu, 3 Nov 2022 15:46:53 -0700 [thread overview]
Message-ID: <20221103-omapfb-gpiod-v1-10-c3d53ca7988f@gmail.com> (raw)
In-Reply-To: <20221103-omapfb-gpiod-v1-0-c3d53ca7988f@gmail.com>
The driver has been switched to gpiod API, so it should include
gpio/consumer.h instead of gpio.h and of_gpio.h.
With of_gpio.h no longer included we need mod_devicetable.h for
of_device_id definition.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c b/drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c
index ba7ed4039f8a..dd29dc5c77ec 100644
--- a/drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c
+++ b/drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c
@@ -11,11 +11,11 @@
* Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
*/
-#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
#include <linux/module.h>
+#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
-#include <linux/of_gpio.h>
#include <video/omapfb_dss.h>
--
b4 0.11.0-dev-5166b
next prev parent reply other threads:[~2022-11-03 22:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-03 22:46 [PATCH 00/13] Convert omapfb drivers to gpiod API Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 0/7] " Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 01/13] omapfb: connector-hdmi: switch to using " Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 02/13] omapfb: panel-sony-acx565akm: remove support for platform data Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 03/13] omapfb: panel-sony-acx565akm: switch to using gpiod API Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 04/13] omapfb: encoder-tfp410: " Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 05/13] omapfb: panel-dsi-cm: " Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 06/13] omapfb: panel-tpo-td043mtea1: " Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 07/13] omapfb: panel-nec-nl8048hl11: " Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 08/13] omapfb: panel-dpi: remove support for platform data Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 09/13] omapfb: connector-analog-tv: " Dmitry Torokhov
2022-11-03 22:46 ` Dmitry Torokhov [this message]
2022-11-03 22:46 ` [PATCH 11/13] omapfb: panel-lgphilips-lb035q02: remove backlight GPIO handling Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 12/13] omapfb: panel-tpo-td028ttec1: stop including gpio.h Dmitry Torokhov
2022-11-03 22:46 ` [PATCH 13/13] omapfb: panel-sharp-ls037v7dw01: fix included headers Dmitry Torokhov
2022-11-03 22:49 ` [PATCH 00/13] Convert omapfb drivers to gpiod API Dmitry Torokhov
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=20221103-omapfb-gpiod-v1-10-c3d53ca7988f@gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=sre@kernel.org \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=tony@atomide.com \
/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).