diff options
author | Ping-Ke Shih <[email protected]> | 2021-07-28 09:43:33 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-08-21 22:19:15 +0300 |
commit | 05e45887382c4c0f9522515759b34991aa17e69d (patch) | |
tree | 462a581fb2fb3b8c8a9605c7b99b0bde665257cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 67368f14a8166b49dcfc6f60043d0d72fe8d17dc (diff) |
rtw88: wow: build wow function only if CONFIG_PM is on
The kernel test robot reports undefined reference after we report wakeup
reason to mac80211. This is because CONFIG_PM is not defined in the testing
configuration file. In fact, functions within wow.c are used if CONFIG_PM
is defined, so use CONFIG_PM to decide whether we build this file or not.
The reported messages are:
hppa-linux-ld: drivers/net/wireless/realtek/rtw88/wow.o: in function `rtw_wow_show_wakeup_reason':
>> (.text+0x6c4): undefined reference to `ieee80211_report_wowlan_wakeup'
>> hppa-linux-ld: (.text+0x6e0): undefined reference to `ieee80211_report_wowlan_wakeup'
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions