diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-10-06 06:00:18 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-11 09:31:37 -0400 |
commit | 6bd96f3c332d422c0dda302f1b32c8e21dd75ee3 (patch) | |
tree | 5a885aac1d005df8d0dc51896d4dfe9ef03e62df /arch/arm/mach-mx5/devices-imx51.h | |
parent | 8a8d20600dce01553c8505b7c576f8d4307e4ba8 (diff) |
ARM: imx: dynamically register fec devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/devices-imx51.h')
-rw-r--r-- | arch/arm/mach-mx5/devices-imx51.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h index 41d93c3d7d0b..c233379256b8 100644 --- a/arch/arm/mach-mx5/devices-imx51.h +++ b/arch/arm/mach-mx5/devices-imx51.h | |||
@@ -9,6 +9,10 @@ | |||
9 | #include <mach/mx51.h> | 9 | #include <mach/mx51.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_fec_data imx51_fec_data __initconst; | ||
13 | #define imx51_add_fec(pdata) \ | ||
14 | imx_add_fec(&imx51_fec_data, pdata) | ||
15 | |||
12 | extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst; | 16 | extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst; |
13 | #define imx51_add_imx_i2c(id, pdata) \ | 17 | #define imx51_add_imx_i2c(id, pdata) \ |
14 | imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) | 18 | imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) |