diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-03-30 06:58:46 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-04-02 10:31:23 +0200 |
commit | 28bdc0e3dafaf59df908f6271d28a976817d81bb (patch) | |
tree | 0ef79d9154385957ba03ac8901e2e57b98d15bbd /arch/arm/mach-at91/at91sam9260_devices.c | |
parent | 15732c1a5ae6afeb269fc1d80287a24cd31828f3 (diff) | |
download | barebox-28bdc0e3dafaf59df908f6271d28a976817d81bb.tar.gz barebox-28bdc0e3dafaf59df908f6271d28a976817d81bb.tar.xz |
ARM: at91: allow to pass the interface id to at91_add_device_eth
On the sam9x5 series we now support 1 or 2 macb.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9260_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9260_devices.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index 3bdcd4f408..23da8c1bbf 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c @@ -67,7 +67,7 @@ void __init at91_add_device_udc(struct at91_udc_data *data) {} #endif #if defined(CONFIG_DRIVER_NET_MACB) -void at91_add_device_eth(struct at91_ether_platform_data *data) +void at91_add_device_eth(int id, struct at91_ether_platform_data *data) { if (!data) return; @@ -104,7 +104,7 @@ void at91_add_device_eth(struct at91_ether_platform_data *data) IORESOURCE_MEM, data); } #else -void at91_add_device_eth(struct at91_ether_platform_data *data) {} +void at91_add_device_eth(int id, struct at91_ether_platform_data *data) {} #endif #if defined(CONFIG_NAND_ATMEL) |