diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-11-04 04:16:39 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-12-14 20:01:49 +0100 |
commit | 891bbadf1cf178eba8f2e3e175eabeee37a61ce8 (patch) | |
tree | 962b3966adc3e9740d54384d327ccdbd150eb686 /drivers/video/fbdev/omap2 | |
parent | fbdev: omapfb: connector-analog-tv: remove support for platform data (diff) | |
download | linux-891bbadf1cf178eba8f2e3e175eabeee37a61ce8.tar.xz linux-891bbadf1cf178eba8f2e3e175eabeee37a61ce8.zip |
fbdev: omapfb: encoder-opa362: fix included headers
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>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev/omap2')
-rw-r--r-- | drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c | 4 |
1 files 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> |