diff options
author | Thierry Reding <treding@nvidia.com> | 2018-02-05 15:54:36 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-05 20:41:54 +0300 |
commit | 140995c9762dafd3247ce232273fe19cf9d8b38b (patch) | |
tree | 21bfb0c1433dc0463756b98503077a3b76d37293 | |
parent | 8fb572acb2191bd14fc1363bf73461a994842e6f (diff) | |
download | linux-140995c9762dafd3247ce232273fe19cf9d8b38b.tar.xz |
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.c | 1 |
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 @@ #include <linux/reset.h> #include <linux/tcp.h> #include <linux/interrupt.h> +#include <linux/pinctrl/devinfo.h> #include "mtk_eth_soc.h" |