1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef __QCA8K_LEDS_H 4 #define __QCA8K_LEDS_H 5 6 /* Leds Support function */ 7 #ifdef CONFIG_NET_DSA_QCA8K_LEDS_SUPPORT 8 int qca8k_setup_led_ctrl(struct qca8k_priv *priv); 9 #else qca8k_setup_led_ctrl(struct qca8k_priv * priv)10static inline int qca8k_setup_led_ctrl(struct qca8k_priv *priv) 11 { 12 return 0; 13 } 14 #endif 15 16 #endif /* __QCA8K_LEDS_H */ 17