Skip to content

Commit

Permalink
thermal: qcom: remove declare local symbols as static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eduardo Valentin authored and Zhang Rui committed Sep 27, 2016
1 parent d059c73 commit 032d405
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/thermal/qcom/tsens-8916.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static int calibrate_8916(struct tsens_device *tmdev)
return 0;
}

const struct tsens_ops ops_8916 = {
static const struct tsens_ops ops_8916 = {
.init = init_common,
.calibrate = calibrate_8916,
.get_temp = get_temp_common,
Expand Down
2 changes: 1 addition & 1 deletion drivers/thermal/qcom/tsens-8960.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ static int get_temp_8960(struct tsens_device *tmdev, int id, int *temp)
return -ETIMEDOUT;
}

const struct tsens_ops ops_8960 = {
static const struct tsens_ops ops_8960 = {
.init = init_8960,
.calibrate = calibrate_8960,
.get_temp = get_temp_8960,
Expand Down
2 changes: 1 addition & 1 deletion drivers/thermal/qcom/tsens-8974.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static int calibrate_8974(struct tsens_device *tmdev)
return 0;
}

const struct tsens_ops ops_8974 = {
static const struct tsens_ops ops_8974 = {
.init = init_common,
.calibrate = calibrate_8974,
.get_temp = get_temp_common,
Expand Down
2 changes: 1 addition & 1 deletion drivers/thermal/qcom/tsens-8996.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static int get_temp_8996(struct tsens_device *tmdev, int id, int *temp)
return 0;
}

const struct tsens_ops ops_8996 = {
static const struct tsens_ops ops_8996 = {
.init = init_common,
.get_temp = get_temp_8996,
};
Expand Down

0 comments on commit 032d405

Please sign in to comment.