diff options
author | Luotao Fu <l.fu@pengutronix.de> | 2009-06-18 06:21:51 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-14 06:41:04 -0400 |
commit | 0160651a65d091f9fb3b7955347e04c1125765f8 (patch) | |
tree | fe412a02a4227b3917877f9a9818c274f3604ac7 /arch | |
parent | 3fd2691a1dc80e42e6524bcbc228b1d35424d013 (diff) |
pcm038: mux configuration for predefined gpio line
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx2/pcm038.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/pcm038.c b/arch/arm/mach-mx2/pcm038.c index 9a3483c8f58c..ee65dda584cf 100644 --- a/arch/arm/mach-mx2/pcm038.c +++ b/arch/arm/mach-mx2/pcm038.c | |||
@@ -216,6 +216,9 @@ static void __init pcm038_init(void) | |||
216 | 216 | ||
217 | mxc_register_device(&mxc_i2c_device1, &pcm038_i2c_1_data); | 217 | mxc_register_device(&mxc_i2c_device1, &pcm038_i2c_1_data); |
218 | 218 | ||
219 | /* PE18 for user-LED D40 */ | ||
220 | mxc_gpio_mode(GPIO_PORTE | 18 | GPIO_GPIO | GPIO_OUT); | ||
221 | |||
219 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); | 222 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); |
220 | 223 | ||
221 | #ifdef CONFIG_MACH_PCM970_BASEBOARD | 224 | #ifdef CONFIG_MACH_PCM970_BASEBOARD |