mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
qcacmn: Fix compile error
When build driver as static module with kernel, the reg_get_dfs_region function name conflicts with kernel function. Fix by rename reg_get_dfs_region to reg_get_current_dfs_region. Change-Id: If2908f37c338b1dbf8290d10838f53848637271c CRs-Fixed: 2127803
This commit is contained in:
parent
1666dd32aa
commit
8b6b17b592
3 changed files with 4 additions and 4 deletions
|
|
@ -1418,12 +1418,12 @@ QDF_STATUS reg_reset_country(struct wlan_objmgr_psoc *psoc)
|
|||
}
|
||||
|
||||
/**
|
||||
* reg_get_dfs_region () - Get the current dfs region
|
||||
* reg_get_current_dfs_region () - Get the current dfs region
|
||||
* @dfs_reg: pointer to dfs region
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void reg_get_dfs_region(struct wlan_objmgr_pdev *pdev,
|
||||
void reg_get_current_dfs_region(struct wlan_objmgr_pdev *pdev,
|
||||
enum dfs_reg *dfs_reg)
|
||||
{
|
||||
struct wlan_regulatory_pdev_priv_obj *pdev_priv_obj;
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ QDF_STATUS reg_reset_country(struct wlan_objmgr_psoc *psoc);
|
|||
QDF_STATUS reg_enable_dfs_channels(struct wlan_objmgr_pdev *pdev, bool enable);
|
||||
|
||||
|
||||
void reg_get_dfs_region(struct wlan_objmgr_pdev *pdev,
|
||||
void reg_get_current_dfs_region(struct wlan_objmgr_pdev *pdev,
|
||||
enum dfs_reg *dfs_reg);
|
||||
|
||||
uint32_t reg_get_channel_reg_power(struct wlan_objmgr_pdev *pdev,
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ QDF_STATUS wlan_reg_get_dfs_region(struct wlan_objmgr_pdev *pdev,
|
|||
/*
|
||||
* Get the current dfs region
|
||||
*/
|
||||
reg_get_dfs_region(pdev, dfs_reg);
|
||||
reg_get_current_dfs_region(pdev, dfs_reg);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue