aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-04-15 16:17:09 -0400
committerOlof Johansson <olof@lixom.net>2019-04-29 02:08:15 -0400
commit1b8c813695dcff87b58ad1916bff2299dcf01c7f (patch)
tree15f6fd7b3df004abb38e0e14b72064f1c6cbfa55 /include/linux/platform_data
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')
-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 @@
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_PLATFORM_DATA_ETH_EP93XX
3#define _LINUX_PLATFORM_DATA_ETH_EP93XX
4
5struct ep93xx_eth_data {
6 unsigned char dev_addr[6];
7 unsigned char phy_id;
8};
9
10#endif