From 95dac0f44967c978aef047795b8e0b22a96e1a48 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 4 Nov 2007 17:57:09 +0000 Subject: [adm5120] disable unsupported boards in the LED driver by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9500 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120/files/drivers/leds/leds-adm5120.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/adm5120/files/drivers') diff --git a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c index 368a13b7c..fb1f66241 100644 --- a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c +++ b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c @@ -303,7 +303,7 @@ adm5120_leds_init(void) mach = adm5120_leds_findmach(mips_machtype); if (mach == NULL) { - /* the board is not yet supported */ + printk(KERN_ERR "leds-adm5120: unsupported board\n"); ret = -EINVAL; goto err; } -- cgit v1.2.3