summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/toshiba/spider_net.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-05-04 13:32:17 +0200
committerJakub Kicinski <kuba@kernel.org>2022-05-06 00:53:02 +0200
commit6bff3ffcf6eed522cfc302e2d934b9a875d20cd2 (patch)
tree1dabcc04b1f611abad7c4dc91bf518297f4d444e /drivers/net/ethernet/toshiba/spider_net.c
parentsungem: Prepare cleanup of powerpc's asm/prom.h (diff)
downloadlinux-6bff3ffcf6eed522cfc302e2d934b9a875d20cd2.tar.xz
linux-6bff3ffcf6eed522cfc302e2d934b9a875d20cd2.zip
net: ethernet: Prepare cleanup of powerpc's asm/prom.h
powerpc's asm/prom.h includes some headers that it doesn't need itself. In order to clean powerpc's asm/prom.h up in a further step, first clean all files that include asm/prom.h Some files don't need asm/prom.h at all. For those ones, just remove inclusion of asm/prom.h Some files don't need any of the items provided by asm/prom.h, but need some of the headers included by asm/prom.h. For those ones, add the needed headers that are brought by asm/prom.h at the moment and remove asm/prom.h Some files really need asm/prom.h but also need some of the headers included by asm/prom.h. For those one, leave asm/prom.h but also add the needed headers so that they can be removed from asm/prom.h in a later step. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Link: https://lore.kernel.org/r/09a13d592d628de95d30943e59b2170af5b48110.1651663857.git.christophe.leroy@csgroup.eu Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/toshiba/spider_net.c')
-rw-r--r--drivers/net/ethernet/toshiba/spider_net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/toshiba/spider_net.c b/drivers/net/ethernet/toshiba/spider_net.c
index c09cd961edbb..bc4914c758ad 100644
--- a/drivers/net/ethernet/toshiba/spider_net.c
+++ b/drivers/net/ethernet/toshiba/spider_net.c
@@ -35,6 +35,7 @@
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <linux/bitops.h>
+#include <linux/of.h>
#include <net/checksum.h>
#include "spider_net.h"