[ARM] pxa/raumfeld: fix button name
authorDaniel Mack <daniel@caiaq.de>
Thu, 18 Mar 2010 18:37:29 +0000 (19:37 +0100)
committerEric Miao <eric.y.miao@gmail.com>
Mon, 22 Mar 2010 04:03:11 +0000 (12:03 +0800)
This fixes a warning when booting 2.6.34-rc2:

[   26.619814] ------------[ cut here ]------------
[   26.624604] WARNING: at fs/proc/generic.c:316 __xlate_proc_name+0xac/0xc0()
[   26.631555] name 'on/off button'
[   26.634753] Modules linked in:

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/raumfeld.c

index 9d23f69..44bb675 100644 (file)
@@ -442,7 +442,7 @@ static struct gpio_keys_button gpio_keys_button[] = {
                .active_low             = 0,
                .wakeup                 = 0,
                .debounce_interval      = 5, /* ms */
                .active_low             = 0,
                .wakeup                 = 0,
                .debounce_interval      = 5, /* ms */
-               .desc                   = "on/off button",
+               .desc                   = "on_off button",
        },
 };
 
        },
 };