device support if it's enabled in kernel (or as a module)
* Makefile: Include explicit depmod in load target and clean
Modules.symvers as well as Module.symvers (seems to be kernel
version dependent)
make -C $(KSRC) M=$(PWD) clean
$(RM) *~ "#*#" .swp
$(RM) -r debian/omnibook-source *-stamp
- $(RM) -r Module.symvers
+ $(RM) -r Module.symvers Modules.symvers
(cd misc/obtest; $(RM) obtest *.o)
$(RMMOD) $(MODULE_NAME) || :
load: install unload
+ $(DEPMOD)
$(INSMOD) $(MODULE_NAME)
uninstall: unload
the support is pretty minimalistic (LCD brigtness only) this
also inaugurate ectype 14
* Cleanup/Fix in Makefile
+ Include explicit depmod in the 'load' target
* Improvements in the Debian packages by Julien Valroff
+* Fix backlight support conditional compilation
2.20060809 Mathieu Bérard <math_b@users.sourceforge.net>
* Add dmi info for Toshiba Satellite M40X (Thanks Julien Valroff)
*/
#ifdef OMNIBOOK_STANDALONE
-#if defined(CONFIG_BACKLIGHT_DEVICE) && defined(BACKLIGHT_CLASS_DEVICE) && (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,16))
+#if (defined (CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE) || defined(CONFIG_BACKLIGHT_CLASS_DEVICE)) && (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,16))
#define CONFIG_OMNIBOOK_BACKLIGHT
#else
#undef CONFIG_OMNIBOOK_BACKLIGHT