Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote: [...] > +++ b/drivers/net/wireless/realtek/rtw88/led.h > @@ -0,0 +1,25 @@ > +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ > +/* Copyright(c) 2025 Realtek Corporation > + */ > + > +#ifndef __RTW_LED_H > +#define __RTW_LED_H > + > +#ifdef CONFIG_LEDS_CLASS > + > +void rtw_led_init(struct rtw_dev *rtwdev); > +void rtw_led_deinit(struct rtw_dev *rtwdev); > + > +#else > + > +static void rtw_led_init(struct rtw_dev *rtwdev) static inline void ... > +{ > +} > + > +static void rtw_led_deinit(struct rtw_dev *rtwdev) static inline void ... > +{ > +} > + > +#endif > + > +#endif