config: make ARCH=m68k allmodconfig All error/warnings: drivers/net/wireless/mwifiex/cfg80211.c: In function 'mwifiex_fill_coalesce_rule_info': >> drivers/net/wireless/mwifiex/cfg80211.c:2493:3: error: implicit declaration of function 'mwifiex_is_pattern_supported' [-Werror=implicit-function-declaration] drivers/net/wireless/mwifiex/cfg80211.c: At top level: drivers/net/wireless/mwifiex/cfg80211.c:2537:12: warning: 'mwifiex_cfg80211_set_coalesce' defined but not used [-Wunused-function] cc1: some warnings being treated as errors
Unified · Split
| @@ -2307,7 +2307,6 @@ int mwifiex_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev) · 2306 unmodified lines | ||
| 2307 | 2307 | } |
| 2308 | 2308 | EXPORT_SYMBOL_GPL(mwifiex_del_virtual_intf); |
| 2309 | 2309 | |
| 2310 | −#ifdef CONFIG_PM | |
| 2311 | 2310 | static bool |
| 2312 | 2311 | mwifiex_is_pattern_supported(struct cfg80211_pkt_pattern *pat, s8 *byte_seq, |
| 2313 | 2312 | u8 max_byte_seq) |
| @@ -2338,6 +2337,7 @@ mwifiex_is_pattern_supported(struct cfg80211_pkt_pattern *pat, s8 *byte_seq, · 24 unmodified lines | ||
| 2338 | 2337 | return true; |
| 2339 | 2338 | } |
| 2340 | 2339 | |
| 2340 | +#ifdef CONFIG_PM | |
| 2341 | 2341 | static int mwifiex_cfg80211_suspend(struct wiphy *wiphy, |
| 2342 | 2342 | struct cfg80211_wowlan *wowlan) |
| 2343 | 2343 | { |
| @@ -2601,8 +2601,8 @@ static struct cfg80211_ops mwifiex_cfg80211_ops = { · 257 unmodified lines | ||
| 2601 | 2601 | .suspend = mwifiex_cfg80211_suspend, |
| 2602 | 2602 | .resume = mwifiex_cfg80211_resume, |
| 2603 | 2603 | .set_wakeup = mwifiex_cfg80211_set_wakeup, |
| 2604 | − .set_coalesce = mwifiex_cfg80211_set_coalesce, | |
| 2605 | 2604 | #endif |
| 2605 | + .set_coalesce = mwifiex_cfg80211_set_coalesce, | |
| 2606 | 2606 | }; |
| 2607 | 2607 | |
| 2608 | 2608 | #ifdef CONFIG_PM |