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:
Jeff Johnson 2016-10-07 12:33:22 -07:00 • committed by qcabuildsw
commit bbaf4e4f62
5 changed files with 7 additions and 4 deletions

View file

@ -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;

View file

@ -36,6 +36,7 @@
#endif
#include "pld_internal.h"
#include "pld_pcie.h"
#ifdef CONFIG_PCI

View file

@ -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;
}

View file

@ -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)
{

View file

@ -35,6 +35,7 @@
#endif
#include "pld_internal.h"
#include "pld_snoc.h"
#ifdef CONFIG_PLD_SNOC_ICNSS
/**