diff options
| author | Jeff Johnson <jjohnson@codeaurora.org> | 2016-11-30 12:13:17 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-11-30 17:12:14 -0800 |
| commit | 8b1dd2badd9a64d215d378ef3f849db26cc49898 (patch) | |
| tree | 2d6a91843ec68dacc8cd33fe5bea749014f3e2e3 | |
| parent | de02dffae01e3711eb6d3ea4b15bb50cd8549618 (diff) | |
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
| -rw-r--r-- | core/cds/src/cds_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c index 82173bde5d57..997621f0b5db 100644 --- a/core/cds/src/cds_api.c +++ b/core/cds/src/cds_api.c @@ -1665,7 +1665,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, |
