summaryrefslogtreecommitdiff
path: root/core/bmi/src
diff options
context:
space:
mode:
authorYingying Tang <yintang@codeaurora.org>2017-02-22 21:10:19 +0800
committerqcabuildsw <qcabuildsw@localhost>2017-02-28 23:40:56 -0800
commitd653c2a995d8a4827d772a7084c8cdeee5535777 (patch)
treedc26d8d1c2db7dce70978e1e9c51ed13abe4f7fd /core/bmi/src
parent61bec2b57bb193e8bee934123e2816157e13899b (diff)
qcacld-3.0: Add "static" to fix compilation error for HL bus
Add "static" before some functions which only be used in 1 file and remove some unused function to resolve compilation error. Change-Id: Id1b1101c3bb04910ad1e3639887f74e44d5b7c36 CRs-Fixed: 2010227
Diffstat (limited to 'core/bmi/src')
-rw-r--r--core/bmi/src/bmi.c3
-rw-r--r--core/bmi/src/i_bmi.h14
2 files changed, 3 insertions, 14 deletions
diff --git a/core/bmi/src/bmi.c b/core/bmi/src/bmi.c
index 33f5986cca0d..d1039f2e8a61 100644
--- a/core/bmi/src/bmi.c
+++ b/core/bmi/src/bmi.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -27,6 +27,7 @@
#include "i_bmi.h"
#include "cds_api.h"
+#include "hif.h"
/* APIs visible to the driver */
diff --git a/core/bmi/src/i_bmi.h b/core/bmi/src/i_bmi.h
index 712bf9e30be5..8b476469cddf 100644
--- a/core/bmi/src/i_bmi.h
+++ b/core/bmi/src/i_bmi.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -184,16 +184,4 @@ void ramdump_work_handler(void *arg);
void fw_indication_work_handler(void *arg);
struct ol_config_info *ol_get_ini_handle(struct ol_context *ol_ctx);
-#ifdef HIF_SDIO
-QDF_STATUS hif_reg_based_get_target_info(struct hif_opaque_softc *hif_ctx,
- struct bmi_target_info *targ_info);
-#endif
-#if defined(HIF_PCI) || defined(SNOC) || defined(HIF_AHB) || defined(HIF_USB)
-static inline QDF_STATUS
-hif_reg_based_get_target_info(struct hif_opaque_softc *hif_ctx,
- struct bmi_target_info *targ_info)
-{
- return QDF_STATUS_SUCCESS;
-}
-#endif
#endif