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 | |
parent | 5fb714cca9461d759d55e343e8bc9d7fe33515c3 (diff) | |
download | master-31e0f0ae-3c3dcddb08399d437066151096d3eeed72dd8b3e.tar.gz master-31e0f0ae-3c3dcddb08399d437066151096d3eeed72dd8b3e.tar.bz2 master-31e0f0ae-3c3dcddb08399d437066151096d3eeed72dd8b3e.zip |
disable unsupported boards in the LED driver by default
SVN-Revision: 9500
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/adm5120/files/drivers/leds/leds-adm5120.c | 2 | ||||
-rw-r--r-- | target/linux/adm5120/router_be/config-2.6.23 | 2 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/config-2.6.23 | 2 |
3 files changed, 3 insertions, 3 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; } diff --git a/target/linux/adm5120/router_be/config-2.6.23 b/target/linux/adm5120/router_be/config-2.6.23 index 224c0ff786..38c643a522 100644 --- a/target/linux/adm5120/router_be/config-2.6.23 +++ b/target/linux/adm5120/router_be/config-2.6.23 @@ -89,7 +89,7 @@ CONFIG_IP_NF_TARGET_CLUSTERIP=m CONFIG_IRQ_CPU=y # CONFIG_JOLIET is not set CONFIG_LEDS_ADM5120=m -CONFIG_LEDS_ADM5120_DIAG=y +# CONFIG_LEDS_ADM5120_DIAG is not set # CONFIG_LEDS_ADM5120_EXPERIMENTAL is not set CONFIG_LEDS_GPIO=m CONFIG_LEDS_TRIGGER_ADM5120_SWITCH=m diff --git a/target/linux/adm5120/router_le/config-2.6.23 b/target/linux/adm5120/router_le/config-2.6.23 index 7727187fac..16dc3d27bd 100644 --- a/target/linux/adm5120/router_le/config-2.6.23 +++ b/target/linux/adm5120/router_le/config-2.6.23 @@ -90,7 +90,7 @@ CONFIG_IP_NF_TARGET_CLUSTERIP=m CONFIG_IRQ_CPU=y # CONFIG_JOLIET is not set CONFIG_LEDS_ADM5120=m -CONFIG_LEDS_ADM5120_DIAG=y +# CONFIG_LEDS_ADM5120_DIAG is not set # CONFIG_LEDS_ADM5120_EXPERIMENTAL is not set CONFIG_LEDS_GPIO=m CONFIG_LEDS_TRIGGER_ADM5120_SWITCH=m |