Search Linux Wireless

RE: [PATCH v2] wifi: rtw88: Add support for LED blinking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux