diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-11-04 17:57:09 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-11-04 17:57:09 +0000 |
commit | 3c3dcddb08399d437066151096d3eeed72dd8b3e (patch) | |
tree | 0c108d5dd18616952886a0f84bf016bdcabe91b9 /target/linux/adm5120/files/drivers/leds/leds-adm5120.c | |
parent | 5fb714cca9461d759d55e343e8bc9d7fe33515c3 (diff) | |
download | mtk-20170518-3c3dcddb08399d437066151096d3eeed72dd8b3e.zip mtk-20170518-3c3dcddb08399d437066151096d3eeed72dd8b3e.tar.gz mtk-20170518-3c3dcddb08399d437066151096d3eeed72dd8b3e.tar.bz2 |
disable unsupported boards in the LED driver by default
SVN-Revision: 9500
Diffstat (limited to 'target/linux/adm5120/files/drivers/leds/leds-adm5120.c')
-rw-r--r-- | target/linux/adm5120/files/drivers/leds/leds-adm5120.c | 2 |
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 368a13b..fb1f662 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; } |