projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[adm5120] disable unsupported boards in the LED driver by default
[openwrt-10.03/.git]
/
target
/
linux
/
adm5120
/
files
/
drivers
/
leds
/
leds-adm5120.c
diff --git
a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
index 368a13b7c63c5b7fecdd5b94a614139b45b58934..fb1f66241feed848d23a2bb019ec509328c8d28a 100644
(file)
--- 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;
}