summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_mpc52xx.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-07-26 04:13:16 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 07:57:15 +0400
commit2504f6da50f4d9656cad353798bf07657ec12eea (patch)
tree4c6500820f235baa36d39c9d49004b6d9ffe88f5 /drivers/ata/pata_mpc52xx.c
parente179840ba88c342d215631356cbfe4e62c9f175b (diff)
downloadlinux-2504f6da50f4d9656cad353798bf07657ec12eea.tar.xz
drivers/leds/leds-netxbig: make LEDS_NETXBIG depend on LEDS_CLASS
We call led_classdev_register/led_classdev_unregister in create_netxbig_led/delete_netxbig_led, thus make LEDS_NETXBIG depend on LEDS_CLASS. This patch fixes below build error if LEDS_CLASS is not configured. LD .tmp_vmlinux1 drivers/built-in.o: In function `create_netxbig_led': drivers/leds/leds-netxbig.c:350: undefined reference to `led_classdev_register' drivers/leds/leds-netxbig.c:361: undefined reference to `led_classdev_unregister' drivers/built-in.o: In function `delete_netxbig_led': drivers/leds/leds-netxbig.c:313: undefined reference to `led_classdev_unregister' Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Acked-by: Simon Guinot <sguinot@lacie.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/pata_mpc52xx.c')
0 files changed, 0 insertions, 0 deletions