summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-08-17 01:20:01 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-09-30 10:07:43 +0200
commitd3bb03ec08fdd93ddcf0f61c86d0d07bd5099cd5 (patch)
treeb23681fc50af04762d98563205396d5ca194f8a9
parent39ad5b4a5ae74242d9bd5ce3e395b3f676bba715 (diff)
downloadlinux-d3bb03ec08fdd93ddcf0f61c86d0d07bd5099cd5.tar.gz
linux-d3bb03ec08fdd93ddcf0f61c86d0d07bd5099cd5.tar.bz2
linux-d3bb03ec08fdd93ddcf0f61c86d0d07bd5099cd5.zip
media: cxd2820r: include the right header
This driver is just using <gpio/driver.h> so include that and not the legacy <linux/gpio.h> header. Cc: Antti Palosaari <crope@iki.fi> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--drivers/media/dvb-frontends/cxd2820r_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r_priv.h b/drivers/media/dvb-frontends/cxd2820r_priv.h
index 7baf0162424f..09c42bcef971 100644
--- a/drivers/media/dvb-frontends/cxd2820r_priv.h
+++ b/drivers/media/dvb-frontends/cxd2820r_priv.h
@@ -13,7 +13,7 @@
#include <media/dvb_frontend.h>
#include <media/dvb_math.h>
#include "cxd2820r.h"
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h> /* For gpio_chip */
#include <linux/math64.h>
#include <linux/regmap.h>