diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-05 00:13:52 +0300 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-08 13:47:01 +0300 |
commit | 9309b2ba54d9082b8eb2ce641ad395cf5d9929f4 (patch) | |
tree | 175d4e867b9266d0f8c322ba2e63ac67315a933a /arch/arm/mach-mx2/devices.h | |
parent | 2b84a3640ffdebbbea3ec004eae963e920c16e1a (diff) | |
download | linux-9309b2ba54d9082b8eb2ce641ad395cf5d9929f4.tar.xz |
arm/mx2: use cpp magic to create imx-i2c devices
This makes the source shorter and easier to verify. While at it switch
to use the SoC-prefixed constants.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/devices.h')
-rw-r--r-- | arch/arm/mach-mx2/devices.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/devices.h b/arch/arm/mach-mx2/devices.h index a0c6e1ad22d2..0dee0f5e681c 100644 --- a/arch/arm/mach-mx2/devices.h +++ b/arch/arm/mach-mx2/devices.h @@ -18,7 +18,9 @@ extern struct platform_device mxc_fb_device; extern struct platform_device mxc_fec_device; extern struct platform_device mxc_pwm_device; extern struct platform_device mxc_i2c_device0; +#ifdef CONFIG_MACH_MX27 extern struct platform_device mxc_i2c_device1; +#endif extern struct platform_device mxc_sdhc_device0; extern struct platform_device mxc_sdhc_device1; extern struct platform_device mxc_otg_udc_device; |