summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2017-05-29 13:57:09 +0200
committerDavid S. Miller <davem@davemloft.net>2017-05-30 13:57:27 -0400
commitce68349a356d60d942ce5758d835e9cb00dcf61d (patch)
treef1a1abc56aa627eba67da7a5d4f4db2794b55b03
parentae803902c71e4eb340a0d3178d65f757662b5298 (diff)
downloadlinux-ce68349a356d60d942ce5758d835e9cb00dcf61d.tar.gz
linux-ce68349a356d60d942ce5758d835e9cb00dcf61d.tar.bz2
linux-ce68349a356d60d942ce5758d835e9cb00dcf61d.zip
net: qualcomm: qca_7k: clean up header includes
Currently the includes doesn't reflect the dependencies. So fix this up by removing all unnecessary entries and add the necessary ones explicit. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/qualcomm/qca_7k.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/ethernet/qualcomm/qca_7k.c b/drivers/net/ethernet/qualcomm/qca_7k.c
index f0066fbb44a6..e9162e1f0c7f 100644
--- a/drivers/net/ethernet/qualcomm/qca_7k.c
+++ b/drivers/net/ethernet/qualcomm/qca_7k.c
@@ -23,11 +23,9 @@
* kernel-based SPI device.
*/
-#include <linux/init.h>
-#include <linux/module.h>
-#include <linux/moduleparam.h>
+#include <linux/kernel.h>
+#include <linux/netdevice.h>
#include <linux/spi/spi.h>
-#include <linux/version.h>
#include "qca_7k.h"