diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2016-07-01 21:02:09 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-09-27 02:02:16 -0400 |
commit | 032d4057291e9d017cf50be017cf09b169ff438f (patch) | |
tree | 5f78004553629e3a3c559f312818e95a20b1ceeb | |
parent | d059c739aacfbd00606f1b120ceaadb79f05c7e0 (diff) |
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>
-rw-r--r-- | drivers/thermal/qcom/tsens-8916.c | 2 | ||||
-rw-r--r-- | drivers/thermal/qcom/tsens-8960.c | 2 | ||||
-rw-r--r-- | drivers/thermal/qcom/tsens-8974.c | 2 | ||||
-rw-r--r-- | drivers/thermal/qcom/tsens-8996.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/thermal/qcom/tsens-8916.c b/drivers/thermal/qcom/tsens-8916.c index beb3afaa3f8f..fdf561b8b81d 100644 --- a/drivers/thermal/qcom/tsens-8916.c +++ b/drivers/thermal/qcom/tsens-8916.c | |||
@@ -100,7 +100,7 @@ static int calibrate_8916(struct tsens_device *tmdev) | |||
100 | return 0; | 100 | return 0; |
101 | } | 101 | } |
102 | 102 | ||
103 | const struct tsens_ops ops_8916 = { | 103 | static const struct tsens_ops ops_8916 = { |
104 | .init = init_common, | 104 | .init = init_common, |
105 | .calibrate = calibrate_8916, | 105 | .calibrate = calibrate_8916, |
106 | .get_temp = get_temp_common, | 106 | .get_temp = get_temp_common, |
diff --git a/drivers/thermal/qcom/tsens-8960.c b/drivers/thermal/qcom/tsens-8960.c index 1d60916395c3..0451277d3a8f 100644 --- a/drivers/thermal/qcom/tsens-8960.c +++ b/drivers/thermal/qcom/tsens-8960.c | |||
@@ -276,7 +276,7 @@ static int get_temp_8960(struct tsens_device *tmdev, int id, int *temp) | |||
276 | return -ETIMEDOUT; | 276 | return -ETIMEDOUT; |
277 | } | 277 | } |
278 | 278 | ||
279 | const struct tsens_ops ops_8960 = { | 279 | static const struct tsens_ops ops_8960 = { |
280 | .init = init_8960, | 280 | .init = init_8960, |
281 | .calibrate = calibrate_8960, | 281 | .calibrate = calibrate_8960, |
282 | .get_temp = get_temp_8960, | 282 | .get_temp = get_temp_8960, |
diff --git a/drivers/thermal/qcom/tsens-8974.c b/drivers/thermal/qcom/tsens-8974.c index da3ca4c18999..9baf77e8cbe3 100644 --- a/drivers/thermal/qcom/tsens-8974.c +++ b/drivers/thermal/qcom/tsens-8974.c | |||
@@ -232,7 +232,7 @@ static int calibrate_8974(struct tsens_device *tmdev) | |||
232 | return 0; | 232 | return 0; |
233 | } | 233 | } |
234 | 234 | ||
235 | const struct tsens_ops ops_8974 = { | 235 | static const struct tsens_ops ops_8974 = { |
236 | .init = init_common, | 236 | .init = init_common, |
237 | .calibrate = calibrate_8974, | 237 | .calibrate = calibrate_8974, |
238 | .get_temp = get_temp_common, | 238 | .get_temp = get_temp_common, |
diff --git a/drivers/thermal/qcom/tsens-8996.c b/drivers/thermal/qcom/tsens-8996.c index e2e12745ad21..e1f77818d8fa 100644 --- a/drivers/thermal/qcom/tsens-8996.c +++ b/drivers/thermal/qcom/tsens-8996.c | |||
@@ -73,7 +73,7 @@ done: | |||
73 | return 0; | 73 | return 0; |
74 | } | 74 | } |
75 | 75 | ||
76 | const struct tsens_ops ops_8996 = { | 76 | static const struct tsens_ops ops_8996 = { |
77 | .init = init_common, | 77 | .init = init_common, |
78 | .get_temp = get_temp_8996, | 78 | .get_temp = get_temp_8996, |
79 | }; | 79 | }; |