From 2fb441a354c8f4dbb66416b10d9cf24c8042675f Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 30 Nov 2016 12:13:17 -0800 Subject: [PATCH] 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 --- core/cds/src/cds_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c index 33507cc67716..3f5e3d4d6b3d 100644 --- a/core/cds/src/cds_api.c +++ b/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,