]> git.baikalelectronics.ru Git - kernel.git/commit
net: mediatek: Explicitly include pinctrl headers
authorThierry Reding <treding@nvidia.com>
Mon, 5 Feb 2018 12:54:36 +0000 (13:54 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 5 Feb 2018 17:41:54 +0000 (09:41 -0800)
commit09f501582a5a647ce941354e690704705b6238f5
tree21bfb0c1433dc0463756b98503077a3b76d37293
parentf5492c25f903e519f3478a3c6570a33911f8fb08
net: mediatek: Explicitly include pinctrl headers

The Mediatek ethernet driver fails to build after commit b1e78d993f6c
("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>
drivers/net/ethernet/mediatek/mtk_eth_soc.c