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' Reviewed-by: Steven J. Hill <Steven.Hill@xxxxxxxxxx> Signed-off-by: Markos Chandras <markos.chandras@xxxxxxxxxx> --- arch/mips/mti-sead3/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/mips/mti-sead3/Makefile b/arch/mips/mti-sead3/Makefile index a632b9cfe526..10093fc9ebc9 100644 --- a/arch/mips/mti-sead3/Makefile +++ b/arch/mips/mti-sead3/Makefile @@ -13,11 +13,10 @@ obj-y := sead3-lcd.o sead3-display.o sead3-init.o \ sead3-platform.o sead3-reset.o \ sead3-setup.o sead3-time.o -obj-y += leds-sead3.o sead3-leds.o - obj-$(CONFIG_EARLY_PRINTK) += sead3-console.o obj-$(CONFIG_I2C) += sead3-i2c.o sead3-i2c-dev.o \ sead3-pic32-bus.o lsead3-pic32-i2c-drv.o +obj-$(LEDS_CLASS) += leds-sead3.o sead3-leds.o obj-$(CONFIG_USB_EHCI_HCD) += sead3-ehci.o obj-$(CONFIG_OF) += sead3.dtb.o -- 2.1.2