From 76df854db43320ca4adf83e1c543cf1ba85b6a53 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sat, 16 Feb 2019 01:13:16 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20implicit=20declaration=20of=20function=20?= =?UTF-8?q?=E2=80=98rtw=5Fresume=5Fprocess=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/hal_data.h | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/include/hal_data.h b/include/hal_data.h index 516f5df..fca1c2e 100644 --- a/include/hal_data.h +++ b/include/hal_data.h @@ -1024,18 +1024,29 @@ 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 +#if defined(CONFIG_RESUME_IN_WORKQUEUE) || defined(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 +#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__ */