author: Yu Kuai <yukuai3@huawei.com> 2021-04-07 20:57:12 +0800
committer: Michael Ellerman <mpe@ellerman.id.au> 2021-04-14 23:04:13 +1000
commit: 13ddd0e3acf988a98b46800178ae691640b0cd00
parent: f6f1f48e8b3b242dfa684d6e1b930d239d87533a
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/macintosh/windfarm_pm121.c b/drivers/macintosh/windfarm_pm121.c
index ab467b9c31be..ba1ec6fc11d2 100644
--- a/drivers/macintosh/windfarm_pm121.c
+++ b/drivers/macintosh/windfarm_pm121.c
@@ -433,7 +433,7 @@ struct pm121_sys_state {
struct wf_pid_state pid;
};
-struct pm121_sys_state *pm121_sys_state[N_LOOPS] = {};
+static struct pm121_sys_state *pm121_sys_state[N_LOOPS] = {};
/*
* ****** CPU Fans Control Loop ******