From d6607fe16839978b627da41287499aa2a80ee213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bremv=C3=A5g?= Date: Sun, 12 Jul 2020 04:09:34 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20implicit=20declaration=20of=20=E2=80=98rt?= =?UTF-8?q?w=5Fresume=5Fprocess=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/hal_data.h | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/include/hal_data.h b/include/hal_data.h index fdc7d54..e576382 100644 --- a/include/hal_data.h +++ b/include/hal_data.h @@ -1050,18 +1050,28 @@ int rtw_halmac_deinit_adapter(struct dvobj_priv *); #define REG_APK rAPK #define REG_ANTSEL_SW_JAGUAR r_ANTSEL_SW_Jaguar - - #define rf_welut_jaguar RF_WeLut_Jaguar #define rf_mode_table_addr RF_ModeTableAddr #define rf_mode_table_data0 RF_ModeTableData0 #define rf_mode_table_data1 RF_ModeTableData1 - - - - - #define RX_SMOOTH_FACTOR Rx_Smooth_Factor +#ifdef CONFIG_RESUME_IN_WORKQUEUE || CONFIG_HAS_EARLYSUSPEND +int rtw_resume_process(_adapter *padapter); +#endif +#ifdef CONFIG_ANDROID_POWER +#if defined(CONFIG_USB_HCI) || defined(CONFIG_SDIO_HCI) || defined(CONFIG_GSPI_HCI) +int rtw_resume_process(PADAPTER padapter); +#endif +#ifdef CONFIG_AUTOSUSPEND +void autosuspend_enter(_adapter* padapter); +int autoresume_enter(_adapter* padapter); +#endif + +#ifdef SUPPORT_HW_RFOFF_DETECTED +int rtw_hw_suspend(_adapter *padapter ); +int rtw_hw_resume(_adapter *padapter); +#endif + #endif /* __HAL_DATA_H__ */