]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/misc/pca9551_led.c
allow LED initialization without STATUS_LED_BOOT
[people/ms/u-boot.git] / drivers / misc / pca9551_led.c
index d4034f6735b93d1c098e0b4765158d17cad282ac..4da031985f732ecb4b55f12ff1f44af5c1ffb334 100644 (file)
@@ -116,8 +116,12 @@ 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)