Browse Source

qcacld-3.0: Make cds_config_recovery_work() static

Recently change "qcacld-3.0: Add support for silent recovery in
cds_trigger_recovery()" added function cds_config_recovery_work().
This function is currently not defined as static, but it also does not
have a public prototype, and this results in a warning when the
compiler's -Wmissing-prototypes switch is used. Since this function is
not accessed from outside cds_api.c, make it static.

Change-Id: I5e78ff767931d21e99b1aff280deb3f9951ee866
CRs-Fixed: 1095791
Jeff Johnson 8 years ago
parent
commit
2fb441a354
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/cds/src/cds_api.c

+ 1 - 1
core/cds/src/cds_api.c

@@ -1626,7 +1626,7 @@ bool cds_is_packet_log_enabled(void)
  * Return: none
  */
 
-void cds_config_recovery_work(qdf_device_t qdf_ctx)
+static void cds_config_recovery_work(qdf_device_t qdf_ctx)
 {
 	if (cds_is_driver_recovering()) {
 		QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,