Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal: qcom: remove declare local symbols as static

Trivial: remove the following:
drivers/thermal/qcom/tsens-8916.c:103:24: warning: symbol 'ops_8916' was not declared. Should it be static?
drivers/thermal/qcom/tsens-8996.c:76:24: warning: symbol 'ops_8996' was not declared. Should it be static?
drivers/thermal/qcom/tsens-8974.c:235:24: warning: symbol 'ops_8974' was not declared. Should it be static?
drivers/thermal/qcom/tsens-8960.c:279:24: warning: symbol 'ops_8960' was not declared. Should it be static?

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rajendra Nayak <rnayak@codeaurora.org>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

authored by

Eduardo Valentin and committed by
Zhang Rui
032d4057 d059c739

+4 -4
+1 -1
drivers/thermal/qcom/tsens-8916.c
··· 100 100 return 0; 101 101 } 102 102 103 - const struct tsens_ops ops_8916 = { 103 + static const struct tsens_ops ops_8916 = { 104 104 .init = init_common, 105 105 .calibrate = calibrate_8916, 106 106 .get_temp = get_temp_common,
+1 -1
drivers/thermal/qcom/tsens-8960.c
··· 276 276 return -ETIMEDOUT; 277 277 } 278 278 279 - const struct tsens_ops ops_8960 = { 279 + static const struct tsens_ops ops_8960 = { 280 280 .init = init_8960, 281 281 .calibrate = calibrate_8960, 282 282 .get_temp = get_temp_8960,
+1 -1
drivers/thermal/qcom/tsens-8974.c
··· 232 232 return 0; 233 233 } 234 234 235 - const struct tsens_ops ops_8974 = { 235 + static const struct tsens_ops ops_8974 = { 236 236 .init = init_common, 237 237 .calibrate = calibrate_8974, 238 238 .get_temp = get_temp_common,
+1 -1
drivers/thermal/qcom/tsens-8996.c
··· 73 73 return 0; 74 74 } 75 75 76 - const struct tsens_ops ops_8996 = { 76 + static const struct tsens_ops ops_8996 = { 77 77 .init = init_common, 78 78 .get_temp = get_temp_8996, 79 79 };