Skip to content

Commit

Permalink
pcm038: mux configuration for predefined gpio line
Browse files Browse the repository at this point in the history
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
  • Loading branch information
Luotao Fu authored and Sascha Hauer committed Aug 14, 2009
1 parent 3fd2691 commit 0160651
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-mx2/pcm038.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0160651

Please sign in to comment.