From cfb1b2c6ac3156d39910fe0227c506fcc6261c8f Mon Sep 17 00:00:00 2001 From: Luotao Fu Date: Thu, 18 Jun 2009 12:21:51 +0200 Subject: [PATCH] --- yaml --- r: 160893 b: refs/heads/master c: 0160651a65d091f9fb3b7955347e04c1125765f8 h: refs/heads/master i: 160891: 67bca3e19540d508c9bb80bf256b6998d0abb013 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-mx2/pcm038.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b77be8d4341a..d2ee2ff67377 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3fd2691a1dc80e42e6524bcbc228b1d35424d013 +refs/heads/master: 0160651a65d091f9fb3b7955347e04c1125765f8 diff --git a/trunk/arch/arm/mach-mx2/pcm038.c b/trunk/arch/arm/mach-mx2/pcm038.c index 9a3483c8f58c..ee65dda584cf 100644 --- a/trunk/arch/arm/mach-mx2/pcm038.c +++ b/trunk/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