Messages in this thread | | | Date | Sat, 11 Jul 2009 17:53:43 -0400 | From | Kyle McMartin <> | Subject | Re: Kconfig, Makefile and ifdef: mod as yes vs. no? |
| |
On Sun, Jul 12, 2009 at 12:06:25AM +0300, Pekka Paalanen wrote: > +#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE >
You need to test _MODULE for the symbol too... since it's necessary to be able to distinguish between symbols which exist in the vmlinux, and symbols which require a module to be loaded.
#if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) && defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE)
should work.
regards, Kyle
| |