Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-09 10:11:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-10 09:03:51 +0200
commitc8d854f1ee1097d331b664665a80bcbd32edb3f5 (patch)
tree82fbcd2909b916feea8e8bbeb679ab56134b3d87
parent3f2968010fda1eb82de1ff79c7384e3329f96673 (diff)
net: fec: fix build error in fec driver
commit f4d8124a4ade232cae1161a6aca86e0c0a1fa4f6 which is commit a069215cf5985f3aa1bba550264907d6bd05c5f7 upstream caused a build error in the driver, as the pm functions were not included properly. So fix that by including the needed .h file. Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 f17b427d91bd..02262b8e57ee 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -58,6 +58,7 @@
#include <linux/if_vlan.h>
#include <linux/pinctrl/consumer.h>
#include <linux/prefetch.h>
+#include <linux/pm_runtime.h>
#include <asm/cacheflush.h>