BACKLIGHT_CLASS_DEVICE=y, SYSFS=n compile error

From: Adrian Bunk
Date: Mon Feb 19 2007 - 19:11:14 EST


CONFIG_BACKLIGHT_CLASS_DEVICE=y, CONFIG_SYSFS=n results int he
following compile error:

<-- snip -->

...
LD .tmp_vmlinux1
drivers/built-in.o: In function `nvidia_bl_exit':
(.text+0x27d01): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `nvidia_bl_init':
(.text+0x27e3c): undefined reference to `backlight_device_register'
drivers/built-in.o: In function `radeonfb_bl_exit':
(.text+0x3b64e): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `radeonfb_bl_init':
(.text+0x3b6d1): undefined reference to `backlight_device_register'
drivers/built-in.o: In function `acpi_video_bus_put_devices':
video.c:(.text+0x9a798): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `brightness_exit':
ibm_acpi.c:(.text+0xa393f): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `brightness_init':
ibm_acpi.c:(.text+0xa569c): undefined reference to `backlight_device_register'
drivers/built-in.o: In function `sony_acpi_add':
sony-laptop.c:(.text+0x183c4e): undefined reference to `backlight_device_register'
sony-laptop.c:(.text+0x183da1): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `sony_acpi_remove':
sony-laptop.c:(.text+0x183de5): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `appledisplay_disconnect':
appledisplay.c:(.text+0x6a4d18): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `appledisplay_probe':
appledisplay.c:(.text+0x6a4f17): undefined reference to `backlight_device_register'
appledisplay.c:(.text+0x6a4f88): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `rivafb_probe':
fbdev.c:(.init.text+0x4e23): undefined reference to `backlight_device_register'
drivers/built-in.o: In function `atyfb_pci_probe':
atyfb_base.c:(.init.text+0x6eb2): undefined reference to `backlight_device_register'
drivers/built-in.o: In function `aty128_probe':
aty128fb.c:(.init.text+0x7f57): undefined reference to `backlight_device_register'
drivers/built-in.o: In function `toshiba_acpi_init':
toshiba_acpi.c:(.init.text+0x1b315): undefined reference to `backlight_device_register'
drivers/built-in.o: In function `msi_init':
msi-laptop.c:(.init.text+0x34c67): undefined reference to `backlight_device_register'
msi-laptop.c:(.init.text+0x34ce1): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `rivafb_remove':
fbdev.c:(.exit.text+0x18d): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `atyfb_remove':
atyfb_base.c:(.exit.text+0x2e0): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `aty128_remove':
aty128fb.c:(.exit.text+0x3eb): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `asus_acpi_exit':
asus_acpi.c:(.exit.text+0x109b): undefined reference to `backlight_device_unregister'
drivers/built-in.o:toshiba_acpi.c:(.exit.text+0x10cc): more undefined
references to `backlight_device_unregister' follow
make[1]: *** [.tmp_vmlinux1] Error 1

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/