Debian Codegraph @

drivers/net/wireless/realtek/rtw88/led.h

raw
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2025 Realtek Corporation
3 */
4
5 #ifndef __RTW_LED_H
6 #define __RTW_LED_H
7
8 #ifdef CONFIG_RTW88_LEDS
9
10 void rtw_led_init(struct rtw_dev *rtwdev);
11 void rtw_led_deinit(struct rtw_dev *rtwdev);
12
13 #else
14
15 static inline void rtw_led_init(struct rtw_dev *rtwdev)
16 {
17 }
18
19 static inline void rtw_led_deinit(struct rtw_dev *rtwdev)
20 {
21 }
22
23 #endif
24
25 #endif