summaryrefslogtreecommitdiffstats
path: root/include/led.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/led.h')
-rw-r--r--include/led.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/led.h b/include/led.h
index f17621e164..ddf8d90084 100644
--- a/include/led.h
+++ b/include/led.h
@@ -110,14 +110,14 @@ static inline void led_gpio_bicolor_unregister(struct gpio_bicolor_led *led)
#ifdef CONFIG_LED_GPIO_RGB
int led_gpio_rgb_register(struct gpio_rgb_led *led);
-void led_gpio_rgb_unregister(struct gpio_led *led);
+void led_gpio_rgb_unregister(struct gpio_rgb_led *led);
#else
static inline int led_gpio_rgb_register(struct gpio_rgb_led *led)
{
return -ENOSYS;
}
-static inline void led_gpio_rgb_unregister(struct gpio_led *led)
+static inline void led_gpio_rgb_unregister(struct gpio_rgb_led *led)
{
}
#endif