1 --- kernel-power-2.6.28.orig/drivers/input/keyboard/omap-twl4030keypad.c
2 +++ kernel-power-2.6.28/drivers/input/keyboard/omap-twl4030keypad.c
4 static DEVICE_ATTR(disable_kp, 0664, twl4030_kp_disable_show,
5 twl4030_kp_disable_store);
7 +extern void keyb_led_set(int v);
8 +static int ledkbd_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
13 + keyb_led_set(value);
14 + //printk(KERN_ERR "call keyb_led_set(%i)\n", value);
20 * Registers keypad device with input sub system
21 * and configures TWL4030 keypad registers
24 /* setup input device */
25 set_bit(EV_KEY, kp->omap_twl4030kp->evbit);
26 + set_bit(EV_LED, kp->omap_twl4030kp->evbit);
27 + kp->omap_twl4030kp->ledbit[0] = BIT_MASK(LED_SCROLLL);
28 + kp->omap_twl4030kp->event = ledkbd_event;
30 /* Enable auto repeat feature of Linux input subsystem */