summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/eth-ep93xx.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-04-15 22:17:09 +0200
committerOlof Johansson <olof@lixom.net>2019-04-28 23:08:15 -0700
commit1b8c813695dcff87b58ad1916bff2299dcf01c7f (patch)
tree15f6fd7b3df004abb38e0e14b72064f1c6cbfa55 /include/linux/platform_data/eth-ep93xx.h
parent56e49cd668b76d6b8568083c2127464cdb3c1584 (diff)
ARM: ep93xx: move network platform data to separate header
The header file is the only thing preventing us from building the driver in a cross-platform configuration, so move the structure we are interested in to the global platform_data location and enable compile testing. Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/linux/platform_data/eth-ep93xx.h')
-rw-r--r--include/linux/platform_data/eth-ep93xx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/platform_data/eth-ep93xx.h b/include/linux/platform_data/eth-ep93xx.h
new file mode 100644
index 000000000000..8eef637a804d
--- /dev/null
+++ b/include/linux/platform_data/eth-ep93xx.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LINUX_PLATFORM_DATA_ETH_EP93XX
+#define _LINUX_PLATFORM_DATA_ETH_EP93XX
+
+struct ep93xx_eth_data {
+ unsigned char dev_addr[6];
+ unsigned char phy_id;
+};
+
+#endif