1 --- polling.c 2010-01-30 09:05:48.000000000 +0100
2 +++ polling.c 2011-09-21 14:06:13.219085575 +0200
4 if(!key_polling_enabled)
7 - cancel_rearming_delayed_workqueue(omnibook_wq, &omnibook_poll_work);
8 + cancel_delayed_work_sync(&omnibook_poll_work);
9 dprintk("Scancode emulation for volume buttons disabled.\n");
10 key_polling_enabled = 0;
14 mutex_lock(&poll_mutex);
15 if(key_polling_enabled)
16 - cancel_rearming_delayed_workqueue(omnibook_wq, &omnibook_poll_work);
17 + cancel_delayed_work_sync(&omnibook_poll_work);
18 mutex_unlock(&poll_mutex);
21 --- Makefile 2011-09-21 14:11:07.063085540 +0200
22 +++ Makefile 2011-09-21 14:11:40.273085536 +0200
25 ifeq ($(OMNIBOOK_WANT_BACKLIGHT),y)
26 ifdef CONFIG_BACKLIGHT_CLASS_DEVICE
27 -# we support backlight interface only after 2.6.16
28 -ifeq ($(shell if [ $(SUBLEVEL) -gt 16 ] ; then echo -n 'y'; fi),y)
29 EXTRA_CFLAGS += -DCONFIG_OMNIBOOK_BACKLIGHT
31 -$(warning "Backlight support in only supported for kernel version newer than 2.6.16")
32 -$(warning "Disabling backlight sysfs interface")