From: Thierry Reding Date: Mon, 5 Feb 2018 12:54:36 +0000 (+0100) Subject: net: mediatek: Explicitly include pinctrl headers X-Git-Tag: Ubuntu-5.13.0-19.19~11641 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=140995c9762dafd3247ce232273fe19cf9d8b38b;p=mirror_ubuntu-jammy-kernel.git net: mediatek: Explicitly include pinctrl headers The Mediatek ethernet driver fails to build after commit 23c35f48f5fb ("pinctrl: remove include file from ") 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 Signed-off-by: Thierry Reding Signed-off-by: Linus Torvalds --- 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 #include #include +#include #include "mtk_eth_soc.h"