summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-07-17 21:46:45 +0200
committerDavid S. Miller <davem@davemloft.net>2019-07-18 00:18:02 +0200
commita6574227a81ffd443cd715f8946baddccce66ada (patch)
treed7e0b9a0b68236a6a8b33a05e87a2e375ce58fff /drivers/net
parentnet_sched: unset TCQ_F_CAN_BYPASS when adding filters (diff)
downloadlinux-a6574227a81ffd443cd715f8946baddccce66ada.tar.xz
linux-a6574227a81ffd443cd715f8946baddccce66ada.zip
net: ag71xx: Add missing header
ag71xx uses devm_ioremap_nocache. This fixes usage of an implicit function Fixes: d51b6ce441d3 ("net: ethernet: add ag71xx driver") Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/atheros/ag71xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/atheros/ag71xx.c b/drivers/net/ethernet/atheros/ag71xx.c
index 72a57c6cd254..8f450a03a885 100644
--- a/drivers/net/ethernet/atheros/ag71xx.c
+++ b/drivers/net/ethernet/atheros/ag71xx.c
@@ -35,6 +35,7 @@
#include <linux/regmap.h>
#include <linux/reset.h>
#include <linux/clk.h>
+#include <linux/io.h>
/* For our NAPI weight bigger does *NOT* mean better - it means more
* D-cache misses and lots more wasted cycles than we'll ever