diff options
| author | 2019-04-15 22:17:09 +0200 | |
|---|---|---|
| committer | 2019-04-28 23:08:15 -0700 | |
| commit | 1b8c813695dcff87b58ad1916bff2299dcf01c7f (patch) | |
| tree | 15f6fd7b3df004abb38e0e14b72064f1c6cbfa55 /include/linux/platform_data | |
| parent | Merge tag 'davinci-for-v5.2/soc' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into arm/soc (diff) | |
| download | linux-dev-1b8c813695dcff87b58ad1916bff2299dcf01c7f.tar.xz linux-dev-1b8c813695dcff87b58ad1916bff2299dcf01c7f.zip | |
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.h | 10 |
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 |
