aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-06-02 14:44:30 -0400
committerDavid S. Miller <davem@davemloft.net>2014-06-02 21:03:35 -0400
commita68ab98e6c7ab0955babcdc45ca446886f3bfb25 (patch)
tree546198237437c811a147b3826a99a98aa36e6ec8 /drivers/net/ethernet
parent41c389d72cf0756957450c25c1dbc7d026324df8 (diff)
fec: Include pinctrl header file
Commit 5bbde4d2ec ("net: fec: use pinctrl PM helpers") caused the following build error on m68k: drivers/net/ethernet/freescale/fec_main.c: In function 'fec_enet_open': drivers/net/ethernet/freescale/fec_main.c:1819:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration] drivers/net/ethernet/freescale/fec_main.c: In function 'fec_enet_close': drivers/net/ethernet/freescale/fec_main.c:1863:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration] In order to fix the build error, include the linux/pinctrl/consumer.h header file. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/freescale/fec_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 4d989b2df420..802be17285b6 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -54,6 +54,7 @@
54#include <linux/of_net.h> 54#include <linux/of_net.h>
55#include <linux/regulator/consumer.h> 55#include <linux/regulator/consumer.h>
56#include <linux/if_vlan.h> 56#include <linux/if_vlan.h>
57#include <linux/pinctrl/consumer.h>
57 58
58#include <asm/cacheflush.h> 59#include <asm/cacheflush.h>
59 60