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>
This commit is contained in:
committed by
Olof Johansson
parent
56e49cd668
commit
1b8c813695
@@ -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
|
||||
Reference in New Issue
Block a user