linux-omap 2.6.37: sync with OE .dev
[glsdk/meta-ti-glsdk.git] / recipes-bsp / linux / linux-omap / 0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch
1 From 3b1dc08ab568d1fdbc2a3731d7643cfeb48023e8 Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Thu, 10 Mar 2011 14:16:08 +0100
4 Subject: [PATCH] BeagleBoard: Adjust USER button pin for xM
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8  arch/arm/mach-omap2/board-omap3beagle.c |    5 +++++
9  1 files changed, 5 insertions(+), 0 deletions(-)
11 diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
12 index 731f4b5..fae3104 100644
13 --- a/arch/arm/mach-omap2/board-omap3beagle.c
14 +++ b/arch/arm/mach-omap2/board-omap3beagle.c
15 @@ -949,6 +949,11 @@ static void __init omap3_beagle_init(void)
16         omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
17         omap3_beagle_init_rev();
18         omap3_beagle_i2c_init();
19 +
20 +       if (cpu_is_omap3630()) {
21 +               gpio_buttons[0].gpio = 4;
22 +       }
23 +
24         platform_add_devices(omap3_beagle_devices,
25                         ARRAY_SIZE(omap3_beagle_devices));
26         omap_serial_init();
27 -- 
28 1.7.0