aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-11-04 17:57:09 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-11-04 17:57:09 +0000
commitf753c442046024c78b761079aea55c3eb8e62d3a (patch)
treea76acf588848a45c49e1474aeba49c61a010806f /target/linux/adm5120/files
parenta50ed3128808dcfbe0618f343d923bf888d212ee (diff)
downloadupstream-f753c442046024c78b761079aea55c3eb8e62d3a.tar.gz
upstream-f753c442046024c78b761079aea55c3eb8e62d3a.tar.bz2
upstream-f753c442046024c78b761079aea55c3eb8e62d3a.zip
[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
Diffstat (limited to 'target/linux/adm5120/files')
-rw-r--r--target/linux/adm5120/files/drivers/leds/leds-adm5120.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
index 368a13b7c6..fb1f66241f 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;
}