nouveau_drm.c:undefined reference to `nouveau_led_suspend'

From: kbuild test robot
Date: Sun Jan 01 2017 - 16:10:09 EST


Hi Martin,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 238d1d0f79f619d75c2cc741d6770fb0986aef24
commit: 8d021d71b3247937a26ffdf313fd53a9d58778b7 drm/nouveau/drm/nouveau: add a LED driver for the NVIDIA logo
date: 3 months ago
config: x86_64-randconfig-h0-01020256 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 8d021d71b3247937a26ffdf313fd53a9d58778b7
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/built-in.o: In function `nouveau_do_suspend':
>> nouveau_drm.c:(.text+0x1fcb11): undefined reference to `nouveau_led_suspend'
drivers/built-in.o: In function `nouveau_do_resume':
>> nouveau_drm.c:(.text+0x1fcf3a): undefined reference to `nouveau_led_resume'
drivers/built-in.o: In function `nouveau_drm_unload':
>> nouveau_drm.c:(.text+0x1fd435): undefined reference to `nouveau_led_fini'
drivers/built-in.o: In function `nouveau_drm_load':
>> nouveau_drm.c:(.text+0x1fde1b): undefined reference to `nouveau_led_init'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip