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
This commit is contained in:
Jeff Johnson 2016-11-30 12:13:17 -08:00 • committed by qcabuildsw
commit 2fb441a354

View file

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