mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 12:45:33 +02:00
[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
This commit is contained in:
parent
6c9dfba3e2
commit
95dac0f449
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user