mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Introduce 'rtl_init_sw_leds()' to replace per-chip LED initialization code (and so drop 'struct rtl_led' as no longer used), drop 'init_sw_leds' and 'deinit_sw_leds' fields from 'struct rtl_hal_ops', adjust related code. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230614061832.40882-1-dmantipov@yandex.ru
11 lines
374 B
C
11 lines
374 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright(c) 2009-2013 Realtek Corporation.*/
|
|
|
|
#ifndef __RTL92CE_LED_H__
|
|
#define __RTL92CE_LED_H__
|
|
|
|
void rtl88ee_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin);
|
|
void rtl88ee_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin);
|
|
void rtl88ee_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
|
|
|
|
#endif
|