mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Fix -Wmissing-prototypes in PLD
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in core/pld. Change-Id: Icef77666d1d1ef214491dcf1fcd56741091cec4f CRs-Fixed: 1078826
This commit is contained in:
parent
4ae7506db1
commit
bbaf4e4f62
5 changed files with 7 additions and 4 deletions
|
|
@ -176,7 +176,7 @@ void pld_del_dev(struct pld_context *pld_context,
|
|||
*
|
||||
* Return: PLD bus type
|
||||
*/
|
||||
enum pld_bus_type pld_get_bus_type(struct device *dev)
|
||||
static enum pld_bus_type pld_get_bus_type(struct device *dev)
|
||||
{
|
||||
struct pld_context *pld_context;
|
||||
struct dev_node *dev_node;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
#endif
|
||||
|
||||
#include "pld_internal.h"
|
||||
#include "pld_pcie.h"
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ static inline int pld_pcie_wlan_get_dfs_nol(void *info, u16 info_len)
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
static void pld_pcie_schedule_recovery_work(void)
|
||||
static inline void pld_pcie_schedule_recovery_work(void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -204,11 +204,11 @@ static inline int pld_pcie_auto_resume(void)
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
static void pld_pcie_lock_pm_sem(void)
|
||||
static inline void pld_pcie_lock_pm_sem(void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
static void pld_pcie_release_pm_sem(void)
|
||||
static inline void pld_pcie_release_pm_sem(void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ static inline void pld_sdio_unregister_driver(void)
|
|||
{
|
||||
}
|
||||
|
||||
static inline
|
||||
int pld_sdio_get_fw_files_for_target(struct pld_fw_files *pfw_files,
|
||||
u32 target_type, u32 target_version)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
#endif
|
||||
|
||||
#include "pld_internal.h"
|
||||
#include "pld_snoc.h"
|
||||
|
||||
#ifdef CONFIG_PLD_SNOC_ICNSS
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue