pc_wifi: provide iwlwifi LED related dummies

These generated dummies slipped in when the commit
'pc_linux: enable gpio, audio' got merged and mainly concern old devices
from the 6xxx series.

The functions are normally guarded via 'CONFIG_IWLWIFI_LEDS' but due to
the olddefconfig step when generating our pc_linux config using
LX_DISABLE has no effect.

Issue #5066.
This commit is contained in:
Josef Söntgen 2024-04-09 15:16:03 +02:00 committed by Christian Helmuth
parent f83487869d
commit fd60e5a8b2
2 changed files with 28 additions and 28 deletions

View File

@ -651,3 +651,31 @@ int pinctrl_init_done(struct device * dev)
lx_emul_trace(__func__);
return 0;
}
extern void iwl_leds_exit(struct iwl_priv * priv);
void iwl_leds_exit(struct iwl_priv * priv)
{
lx_emul_trace(__func__);
}
extern void iwl_leds_init(struct iwl_priv * priv);
void iwl_leds_init(struct iwl_priv * priv)
{
lx_emul_trace(__func__);
}
extern void iwl_mvm_leds_exit(struct iwl_mvm * mvm);
void iwl_mvm_leds_exit(struct iwl_mvm * mvm)
{
lx_emul_trace(__func__);
}
extern void iwlagn_led_enable(struct iwl_priv * priv);
void iwlagn_led_enable(struct iwl_priv * priv)
{
lx_emul_trace(__func__);
}

View File

@ -661,34 +661,6 @@ void irq_work_tick(void)
}
extern void iwl_leds_exit(struct iwl_priv * priv);
void iwl_leds_exit(struct iwl_priv * priv)
{
lx_emul_trace_and_stop(__func__);
}
extern void iwl_leds_init(struct iwl_priv * priv);
void iwl_leds_init(struct iwl_priv * priv)
{
lx_emul_trace_and_stop(__func__);
}
extern void iwl_mvm_leds_exit(struct iwl_mvm * mvm);
void iwl_mvm_leds_exit(struct iwl_mvm * mvm)
{
lx_emul_trace_and_stop(__func__);
}
extern void iwlagn_led_enable(struct iwl_priv * priv);
void iwlagn_led_enable(struct iwl_priv * priv)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/kobject.h>
struct kobject *kernel_kobj;