alistair23-linux/drivers/leds
Axel Lin 9d8f776bfb drivers/leds/leds-asic3: make LEDS_ASIC3 depend on LEDS_CLASS
We call led_classdev_unregister/led_classdev_register in
asic3_led_remove/asic3_led_probe, thus make LEDS_ASIC3 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 `asic3_led_remove':
  clkdev.c:(.devexit.text+0x1860): undefined reference to `led_classdev_unregister'
  drivers/built-in.o: In function `asic3_led_probe':
  clkdev.c:(.devinit.text+0xcee8): undefined reference to `led_classdev_register'
  make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Paul Parsons <lost.distance@yahoo.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-06-15 20:04:00 -07:00
..
dell-led.c
Kconfig drivers/leds/leds-asic3: make LEDS_ASIC3 depend on LEDS_CLASS 2011-06-15 20:04:00 -07:00
led-class.c leds: support automatic start of blinking with ledtrig-timer 2011-05-25 08:39:49 -07:00
led-core.c
led-triggers.c leds: Add ability to blink via simple trigger 2011-01-31 16:30:24 +03:00
leds-88pm860x.c mfd: Use mfd cell platform_data for 88pm860x cells platform bits 2011-05-26 19:45:12 +02:00
leds-adp5520.c
leds-alix2.c
leds-ams-delta.c
leds-asic3.c leds: Add ASIC3 LED support 2011-05-26 19:45:46 +02:00
leds-atmel-pwm.c
leds-bd2802.c leds: convert bd2802 driver to dev_pm_ops 2011-03-22 17:43:58 -07:00
leds-clevo-mail.c
leds-cobalt-qube.c
leds-cobalt-raq.c
leds-da903x.c
leds-dac124s085.c
leds-fsg.c
leds-gpio-register.c leds: provide helper to register "leds-gpio" devices 2011-05-25 08:39:51 -07:00
leds-gpio.c leds/leds-gpio: merge platform_driver with of_platform_driver 2011-02-28 01:36:39 -07:00
leds-hp6xx.c
leds-lm3530.c drivers/leds/leds-lm3530.c: add regulator 2011-05-25 08:39:51 -07:00
leds-locomo.c
leds-lp3944.c
leds-lp5521.c drivers/leds/leds-lp5521.c: world-writable sysfs engine* files 2011-03-22 17:43:59 -07:00
leds-lp5523.c drivers/leds/leds-lp5523.c: world-writable engine* sysfs files 2011-03-22 17:43:59 -07:00
leds-lt3593.c
leds-mc13783.c mfd: Use mfd cell platform_data for mc13xxx cells platform bits 2011-05-26 19:45:07 +02:00
leds-net48xx.c
leds-net5501.c leds: make *struct gpio_led_platform_data.leds const 2011-03-22 17:43:59 -07:00
leds-netxbig.c
leds-ns2.c
leds-pca955x.c
leds-pca9532.c drivers/leds/leds-pca9532.c: add support pca9530, pca9531 and pca9533 2011-05-25 08:39:50 -07:00
leds-pwm.c leds: leds-pwm: return proper error if pwm_request failed 2011-01-26 10:49:58 +10:00
leds-rb532.c
leds-regulator.c leds/leds-regulator.c: fix handling of already enabled regulators 2011-04-14 16:06:54 -07:00
leds-s3c24xx.c
leds-ss4200.c
leds-sunfire.c
leds-wm831x-status.c
leds-wm8350.c Fix common misspellings 2011-03-31 11:26:23 -03:00
leds-wrap.c
leds.h leds: support automatic start of blinking with ledtrig-timer 2011-05-25 08:39:49 -07:00
ledtrig-backlight.c leds: add output inversion option to backlight trigger 2011-01-13 08:03:06 -08:00
ledtrig-default-on.c
ledtrig-gpio.c drivers/leds/ledtrig-gpio.c: make output match input, tighten input checking 2011-01-20 17:02:06 -08:00
ledtrig-heartbeat.c
ledtrig-ide-disk.c
ledtrig-timer.c leds: support automatic start of blinking with ledtrig-timer 2011-05-25 08:39:49 -07:00
Makefile leds: Add ASIC3 LED support 2011-05-26 19:45:46 +02:00