Build failure: shmobile drm driver references backlight symbols

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Oct 29 11:04:13 CET 2013


My build system picked up on this failure:

drivers/built-in.o: In function `shmob_drm_backlight_init':
fmc-chardev.c:(.text+0x9f2d0): undefined reference to `backlight_device_register'
drivers/built-in.o: In function `shmob_drm_backlight_exit':
fmc-chardev.c:(.text+0x9f370): undefined reference to `backlight_device_unregister'

which is cuased by drivers/gpu/drm/shmobile/shmob_drm_backlight.c being
built without the backlight dependency being enabled.  It looks like
the backlight dependency is a hard requirement, so needs ot be added
to the Kconfig entry for this driver in some way.


More information about the dri-devel mailing list