diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-16 12:03:05 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-30 03:00:43 -0400 |
commit | 4a9b8b0b061ef750b5ef31d1e9d2fa0206731f2f (patch) | |
tree | d6128f7116c4cefdb801897c6febe5e1297a1228 /arch/arm/mach-mx3/mach-mx31ads.c | |
parent | c69871597dd173af2d7615429c0ee6aa10fae42b (diff) |
ARM: imx: dynamically register imx-i2c devices (imx31)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mach-mx31ads.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31ads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mx3/mach-mx31ads.c b/arch/arm/mach-mx3/mach-mx31ads.c index a68b86826e8a..b6dc6c848b51 100644 --- a/arch/arm/mach-mx3/mach-mx31ads.c +++ b/arch/arm/mach-mx3/mach-mx31ads.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <linux/mfd/wm8350/pmic.h> | 38 | #include <linux/mfd/wm8350/pmic.h> |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | #include "devices-imx31.h" | ||
41 | #include "devices.h" | 42 | #include "devices.h" |
42 | 43 | ||
43 | /* Base address of PBC controller */ | 44 | /* Base address of PBC controller */ |
@@ -500,7 +501,7 @@ static void mxc_init_i2c(void) | |||
500 | mxc_iomux_mode(IOMUX_MODE(MX31_PIN_CSPI2_MOSI, IOMUX_CONFIG_ALT1)); | 501 | mxc_iomux_mode(IOMUX_MODE(MX31_PIN_CSPI2_MOSI, IOMUX_CONFIG_ALT1)); |
501 | mxc_iomux_mode(IOMUX_MODE(MX31_PIN_CSPI2_MISO, IOMUX_CONFIG_ALT1)); | 502 | mxc_iomux_mode(IOMUX_MODE(MX31_PIN_CSPI2_MISO, IOMUX_CONFIG_ALT1)); |
502 | 503 | ||
503 | mxc_register_device(&mxc_i2c_device1, NULL); | 504 | imx31_add_imx_i2c1(NULL); |
504 | } | 505 | } |
505 | #else | 506 | #else |
506 | static void mxc_init_i2c(void) | 507 | static void mxc_init_i2c(void) |