From: Luotao Fu Date: Thu, 18 Jun 2009 10:21:51 +0000 (+0200) Subject: pcm038: mux configuration for predefined gpio line X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0160651a65d091f9fb3b7955347e04c1125765f8;p=linux-beck.git pcm038: mux configuration for predefined gpio line Signed-off-by: Luotao Fu --- 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) mxc_register_device(&mxc_i2c_device1, &pcm038_i2c_1_data); + /* PE18 for user-LED D40 */ + mxc_gpio_mode(GPIO_PORTE | 18 | GPIO_GPIO | GPIO_OUT); + platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); #ifdef CONFIG_MACH_PCM970_BASEBOARD