summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/xscale
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-01-12 13:04:45 +0100
committerJakub Kicinski <kuba@kernel.org>2020-01-12 21:59:53 +0100
commita41a5b26d29fb0123cd3290dca453857cd8c0c66 (patch)
tree690a8e37be6e44f4c377bb5efb4cfeef6a0f4182 /drivers/net/ethernet/xscale
parentptp: ixp46x: move adjacent to ethernet driver (diff)
downloadlinux-a41a5b26d29fb0123cd3290dca453857cd8c0c66.tar.xz
linux-a41a5b26d29fb0123cd3290dca453857cd8c0c66.zip
ixp4xx_eth: move platform_data definition
The platform data is needed to compile the driver as standalone, so move it to a global location along with similar files. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/xscale')
-rw-r--r--drivers/net/ethernet/xscale/ixp46x_ts.h (renamed from drivers/net/ethernet/xscale/ptp_ixp46x.h)0
-rw-r--r--drivers/net/ethernet/xscale/ixp4xx_eth.c1
2 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/xscale/ptp_ixp46x.h b/drivers/net/ethernet/xscale/ixp46x_ts.h
index d792130e27b0..d792130e27b0 100644
--- a/drivers/net/ethernet/xscale/ptp_ixp46x.h
+++ b/drivers/net/ethernet/xscale/ixp46x_ts.h
diff --git a/drivers/net/ethernet/xscale/ixp4xx_eth.c b/drivers/net/ethernet/xscale/ixp4xx_eth.c
index 0075ecdb21f4..e811bf0d23cb 100644
--- a/drivers/net/ethernet/xscale/ixp4xx_eth.c
+++ b/drivers/net/ethernet/xscale/ixp4xx_eth.c
@@ -29,6 +29,7 @@
#include <linux/net_tstamp.h>
#include <linux/of.h>
#include <linux/phy.h>
+#include <linux/platform_data/eth_ixp4xx.h>
#include <linux/platform_device.h>
#include <linux/ptp_classify.h>
#include <linux/slab.h>