aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-02-05 07:54:36 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-05 12:41:54 -0500
commit140995c9762dafd3247ce232273fe19cf9d8b38b (patch)
tree21bfb0c1433dc0463756b98503077a3b76d37293
parent8fb572acb2191bd14fc1363bf73461a994842e6f (diff)
net: mediatek: Explicitly include pinctrl headers
The Mediatek ethernet driver fails to build after commit 23c35f48f5fb ("pinctrl: remove include file from <linux/device.h>") because it relies on the pinctrl/consumer.h and pinctrl/devinfo.h being pulled in by the device.h header implicitly. Include these headers explicitly to avoid the build failure. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/net/ethernet/mediatek/mtk_eth_soc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index 29826dd15204..e0b72bf428f7 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -23,6 +23,7 @@
23#include <linux/reset.h> 23#include <linux/reset.h>
24#include <linux/tcp.h> 24#include <linux/tcp.h>
25#include <linux/interrupt.h> 25#include <linux/interrupt.h>
26#include <linux/pinctrl/devinfo.h>
26 27
27#include "mtk_eth_soc.h" 28#include "mtk_eth_soc.h"
28 29