---- a/arch/x86/platform/geode/alix.c 2011-08-13 15:51:30.892956346 -0600
-+++ b/arch/x86/platform/geode/alix.c 2011-08-13 16:14:58.082329961 -0600
+--- a/arch/x86/platform/geode/alix.c
++++ b/arch/x86/platform/geode/alix.c
@@ -6,6 +6,7 @@
*
* Copyright (C) 2008 Constantin Baranov <const@mimas.ru>
*
* TODO: There are large similarities with leds-net5501.c
* by Alessandro Zummo <a.zummo@towertech.it>
-@@ -24,14 +25,48 @@
+@@ -23,14 +24,48 @@
#include <linux/leds.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
+};
+
+static struct platform_device alix_buttons_dev = {
-+ .name = "gpio-polled-keys",
++ .name = "gpio-keys-polled",
+ .id = 1,
+ .dev = {
+ .platform_data = &alix_buttons_data,
static struct gpio_led alix_leds[] = {
{
.name = "alix:1",
-@@ -64,17 +98,22 @@
+@@ -63,17 +98,22 @@ static struct platform_device alix_leds_
.dev.platform_data = &alix_leds_data,
};
const char *bios_virt;
const char *scan_end;
const char *p;
-@@ -109,7 +148,9 @@
+@@ -108,7 +148,9 @@ static int __init alix_present(unsigned
*a = '\0';
tail = p + alix_sig_len;
printk(KERN_INFO
"%s: system is recognized as \"%s\"\n",
KBUILD_MODNAME, name);
-@@ -128,8 +169,8 @@
+@@ -127,8 +169,8 @@ static int __init alix_init(void)
if (!is_geode())
return 0;