summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-sead3.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-08-03 17:04:01 +0200
committerJacek Anaszewski <j.anaszewski@samsung.com>2015-11-03 08:59:20 +0100
commit22a16873d38829570677871a22cf77f00445206f (patch)
tree3bbcb3d791c66283e2624b0913e02e2952f1f519 /drivers/leds/leds-sead3.c
parentleds: leds-ipaq-micro: Fix coding style issues (diff)
downloadlinux-22a16873d38829570677871a22cf77f00445206f.tar.xz
linux-22a16873d38829570677871a22cf77f00445206f.zip
LED/MIPS: Move SEAD3 LED driver to where it belongs.
Fixes the following randconfig problem leds-sead3.c:(.text+0x7dc): undefined reference to `led_classdev_unregister' leds-sead3.c:(.text+0x7e8): undefined reference to `led_classdev_unregister' Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: Bryan Wu <cooloney@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-leds@vger.kernel.org Cc: linux-mips@linux-mips.org Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to '')
-rw-r--r--drivers/leds/leds-sead3.c (renamed from arch/mips/mti-sead3/leds-sead3.c)1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mti-sead3/leds-sead3.c b/drivers/leds/leds-sead3.c
index c938ceeb8848..eb97a3271bb3 100644
--- a/arch/mips/mti-sead3/leds-sead3.c
+++ b/drivers/leds/leds-sead3.c
@@ -59,6 +59,7 @@ static int sead3_led_remove(struct platform_device *pdev)
{
led_classdev_unregister(&sead3_pled);
led_classdev_unregister(&sead3_fled);
+
return 0;
}