summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_drv.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2017-01-02 01:20:53 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-01-04 09:55:57 +0100
commita5ad0fd8524e5144512a5c25eda5a5d6fd55fda8 (patch)
tree6122a71e27ca895968a18b87f3143962a0599468 /include/drm/drm_drv.h
parentdrm/edid: constify edid quirk list (diff)
downloadlinux-a5ad0fd8524e5144512a5c25eda5a5d6fd55fda8.tar.xz
linux-a5ad0fd8524e5144512a5c25eda5a5d6fd55fda8.zip
drm: nouveau: fix build when LEDS_CLASS=m
Fix build errors in nouveau driver when CONFIG_LEDS_CLASS=m and CONFIG_DRM_NOUVEAU=y. If LEDS_CLASS is enabled, DRM_NOUVEAU is restricted to the same kconfig value as LEDS_CLASS. drivers/built-in.o: In function `nouveau_do_suspend': nouveau_drm.c:(.text+0x2030b1): undefined reference to `nouveau_led_suspend' drivers/built-in.o: In function `nouveau_do_resume': nouveau_drm.c:(.text+0x2034ca): undefined reference to `nouveau_led_resume' drivers/built-in.o: In function `nouveau_drm_unload': nouveau_drm.c:(.text+0x203a15): undefined reference to `nouveau_led_fini' drivers/built-in.o: In function `nouveau_drm_load': nouveau_drm.c:(.text+0x204423): undefined reference to `nouveau_led_init' BTW, this line in Kbuild: nouveau-$(CONFIG_LEDS_CLASS) += nouveau_led.o does nothing when CONFIG_LEDS_CLASS=m and CONFIG_DRM_NOUVEAU=y. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Martin Peres <martin.peres@free.fr> Cc: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/029a1ec5-48ac-a3ce-3106-430e0f2584bb@infradead.org
Diffstat (limited to 'include/drm/drm_drv.h')
0 files changed, 0 insertions, 0 deletions