connectivity: Fix function prototype warnings
Change-Id: Ie9f0bb34161a0fbda3202dce0deb1e94215a38c5 Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include "bluetooth_drv_init.h"
|
||||
|
||||
#ifdef CONFIG_MTK_COMBO_BT
|
||||
int __attribute__((weak)) mtk_wcn_stpbt_drv_init()
|
||||
int __attribute__((weak)) mtk_wcn_stpbt_drv_init(void)
|
||||
{
|
||||
WMT_DETECT_PR_INFO("Not implement mtk_wcn_stpbt_drv_init\n");
|
||||
return 0;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "fm_drv_init.h"
|
||||
|
||||
#ifdef CONFIG_MTK_FMRADIO
|
||||
int __attribute__((weak)) mtk_wcn_fm_init()
|
||||
int __attribute__((weak)) mtk_wcn_fm_init(void)
|
||||
{
|
||||
WMT_DETECT_PR_INFO("no impl. mtk_wcn_fm_init\n");
|
||||
return 0;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "gps_drv_init.h"
|
||||
|
||||
#ifdef CONFIG_MTK_COMBO_GPS
|
||||
int __attribute__((weak)) mtk_wcn_stpgps_drv_init()
|
||||
int __attribute__((weak)) mtk_wcn_stpgps_drv_init(void)
|
||||
{
|
||||
WMT_DETECT_PR_INFO("no impl. mtk_wcn_stpgps_drv_init\n");
|
||||
return 0;
|
||||
|
||||
@@ -20,25 +20,25 @@
|
||||
#include "wmt_detect.h"
|
||||
#include "wlan_drv_init.h"
|
||||
|
||||
int __attribute__((weak)) mtk_wcn_wlan_gen4_init()
|
||||
int __attribute__((weak)) mtk_wcn_wlan_gen4_init(void)
|
||||
{
|
||||
WMT_DETECT_PR_INFO("no impl. mtk_wcn_wlan_gen4_init\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __attribute__((weak)) mtk_wcn_wlan_gen3_init()
|
||||
int __attribute__((weak)) mtk_wcn_wlan_gen3_init(void)
|
||||
{
|
||||
WMT_DETECT_PR_INFO("no impl. mtk_wcn_wlan_gen3_init\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __attribute__((weak)) mtk_wcn_wlan_gen2_init()
|
||||
int __attribute__((weak)) mtk_wcn_wlan_gen2_init(void)
|
||||
{
|
||||
WMT_DETECT_PR_INFO("no impl. mtk_wcn_wlan_gen2_init\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __attribute__((weak)) mtk_wcn_wmt_wifi_init()
|
||||
int __attribute__((weak)) mtk_wcn_wmt_wifi_init(void)
|
||||
{
|
||||
WMT_DETECT_PR_INFO("no impl. mtk_wcn_wmt_wifi_init\n");
|
||||
return 0;
|
||||
|
||||
@@ -913,7 +913,7 @@ INT32 mtk_wcn_consys_detect_adie_chipid(UINT32 co_clock_type)
|
||||
return chipid;
|
||||
}
|
||||
|
||||
struct pinctrl *mtk_wcn_consys_get_pinctrl()
|
||||
struct pinctrl *mtk_wcn_consys_get_pinctrl(void)
|
||||
{
|
||||
return consys_pinctrl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user