All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Bitterblue Smith <rtl8821cerfe2@gmail.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH v2] wifi: rtw88: Add support for LED blinking
Date: Mon, 6 Jan 2025 01:19:07 +0000	[thread overview]
Message-ID: <d3a2e2ccf26f43248d42d6e5ccdf0231@realtek.com> (raw)
In-Reply-To: <57c7d192-97ee-4da1-87a8-f040e9b8e3d1@gmail.com>

Bitterblue Smith <rtl8821cerfe2@gmail.com> 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



  reply	other threads:[~2025-01-06  1:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-05 19:07 [PATCH v2] wifi: rtw88: Add support for LED blinking Bitterblue Smith
2025-01-06  1:19 ` Ping-Ke Shih [this message]
2025-01-06  2:37 ` kernel test robot
2025-01-06  3:32   ` Ping-Ke Shih

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d3a2e2ccf26f43248d42d6e5ccdf0231@realtek.com \
    --to=pkshih@realtek.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=rtl8821cerfe2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.