Explorar o código

[ARM] pxa/spitz: fix On/off key name to fix warning during boot

On/Off contains slash in the name, which causes warning during boot.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Pavel Machek %!s(int64=15) %!d(string=hai) anos
pai
achega
b53f771061
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/arm/mach-pxa/spitz.c

+ 1 - 1
arch/arm/mach-pxa/spitz.c

@@ -363,7 +363,7 @@ static struct gpio_keys_button spitz_gpio_keys[] = {
 		.type	= EV_PWR,
 		.type	= EV_PWR,
 		.code	= KEY_SUSPEND,
 		.code	= KEY_SUSPEND,
 		.gpio	= SPITZ_GPIO_ON_KEY,
 		.gpio	= SPITZ_GPIO_ON_KEY,
-		.desc	= "On/Off",
+		.desc	= "On Off",
 		.wakeup	= 1,
 		.wakeup	= 1,
 	},
 	},
 	/* Two buttons detecting the lid state */
 	/* Two buttons detecting the lid state */