Kconfig: Drop CONFIG_CMD_DS4510
[platform/kernel/u-boot.git] / drivers / misc / pca9551_led.c
index d4034f6..226a31a 100644 (file)
@@ -116,11 +116,15 @@ static int pca9551_led_set_blink_rate(int idx, struct pca9551_blink_rate rate)
 }
 
 /*
- * Functions referenced by cmd_led.c
+ * Functions referenced by cmd_led.c or status_led.c
  */
+void __led_init(led_id_t id, int state)
+{
+}
+
 void __led_set(led_id_t mask, int state)
 {
-       if (state == STATUS_LED_OFF)
+       if (state == CONFIG_LED_STATUS_OFF)
                pca9551_led_set_state(mask, PCA9551_LED_STATE_OFF);
        else
                pca9551_led_set_state(mask, PCA9551_LED_STATE_ON);