LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x9bfa): In function `lcd_device_register':
: undefined reference to `fb_register_client'
drivers/built-in.o(.text+0x9ce3): In function `lcd_device_unregister':
: undefined reference to `fb_unregister_client'
drivers/built-in.o(.text+0xa16a): In function `backlight_device_register':
: undefined reference to `fb_register_client'
drivers/built-in.o(.text+0xa253): In function `backlight_device_unregister':
: undefined reference to `fb_unregister_client'
make: *** [.tmp_vmlinux1] Error 1
Fix from Andrew Zabolotny [off-list ref]
Signed-off-by: Antonino Daplas <redacted>
---
Kconfig | 2 +-
backlight/Kconfig | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff -Nru a/drivers/video/Kconfig b/drivers/video/Kconfig--- a/drivers/video/Kconfig 2005-01-15 04:25:56 +08:00
+++ b/drivers/video/Kconfig 2005-01-18 05:04:55 +08:00
@@ -1107,7 +1107,7 @@
source "drivers/video/logo/Kconfig"
endif
-if SYSFS
+if FB && SYSFS
source "drivers/video/backlight/Kconfig"
endif
diff -Nru a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
--- a/drivers/video/backlight/Kconfig 2005-01-15 04:10:38 +08:00
+++ b/drivers/video/backlight/Kconfig 2005-01-18 05:04:55 +08:00
@@ -11,6 +11,7 @@
config BACKLIGHT_CLASS_DEVICE
tristate "Lowlevel Backlight controls"
depends on BACKLIGHT_LCD_SUPPORT
+ default m
help
This framework adds support for low-level control of the LCD
backlight. This includes support for brightness and power.@@ -26,6 +27,7 @@
config LCD_CLASS_DEVICE
tristate "Lowlevel LCD controls"
depends on BACKLIGHT_LCD_SUPPORT
+ default m
help
This framework adds support for low-level control of LCD.
Some framebuffer devices connect to platform-specific LCD modules
-------------------------------------------------------The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt