xref: /linux/drivers/net/dsa/qca/qca8k_leds.h (revision 8e07e0e3964ca4e23ce7b68e2096fe660a888942)
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
10 static inline int qca8k_setup_led_ctrl(struct qca8k_priv *priv)
11 {
12 	return 0;
13 }
14 #endif
15 
16 #endif /* __QCA8K_LEDS_H */
17