18 #include <linux/kernel.h>
21 #include <linux/string.h>
22 #include <linux/module.h>
26 #include <linux/input.h>
37 .desc =
"Reset button",
40 .debounce_interval = 100,
45 .buttons = geos_gpio_buttons,
51 .name =
"gpio-keys-polled",
54 .platform_data = &geos_buttons_data,
58 static struct gpio_led geos_leds[] = {
62 .default_trigger =
"default-on",
68 .default_trigger =
"default-off",
74 .default_trigger =
"default-off",
87 .dev.platform_data = &geos_leds_data,
95 static void __init register_geos(
void)
101 static int __init geos_init(
void)
109 if (!vendor ||
strcmp(vendor,
"Traverse Technologies"))
113 if (!product ||
strcmp(product,
"Geos"))
117 KBUILD_MODNAME, vendor, product);