summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-07-17 12:46:45 -0700
committerDavid S. Miller <davem@davemloft.net>2019-07-17 15:18:02 -0700
commita6574227a81ffd443cd715f8946baddccce66ada (patch)
treed7e0b9a0b68236a6a8b33a05e87a2e375ce58fff
parent3f05e6886a595c9a29a309c52f45326be917823c (diff)
downloadlinux-a6574227a81ffd443cd715f8946baddccce66ada.tar.gz
linux-a6574227a81ffd443cd715f8946baddccce66ada.tar.bz2
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>
-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