@@ -104,7 +104,7 @@ static const struct st_thermal_sensor_ops st_syscfg_sensor_ops = {
104
104
};
105
105
106
106
/* Compatible device data for stih415 sas thermal sensor */
107
- const struct st_thermal_compat_data st_415sas_cdata = {
107
+ static const struct st_thermal_compat_data st_415sas_cdata = {
108
108
.sys_compat = "st,stih415-front-syscfg" ,
109
109
.reg_fields = st_415sas_regfields ,
110
110
.ops = & st_syscfg_sensor_ops ,
@@ -114,7 +114,7 @@ const struct st_thermal_compat_data st_415sas_cdata = {
114
114
};
115
115
116
116
/* Compatible device data for stih415 mpe thermal sensor */
117
- const struct st_thermal_compat_data st_415mpe_cdata = {
117
+ static const struct st_thermal_compat_data st_415mpe_cdata = {
118
118
.sys_compat = "st,stih415-system-syscfg" ,
119
119
.reg_fields = st_415mpe_regfields ,
120
120
.ops = & st_syscfg_sensor_ops ,
@@ -124,7 +124,7 @@ const struct st_thermal_compat_data st_415mpe_cdata = {
124
124
};
125
125
126
126
/* Compatible device data for stih416 sas thermal sensor */
127
- const struct st_thermal_compat_data st_416sas_cdata = {
127
+ static const struct st_thermal_compat_data st_416sas_cdata = {
128
128
.sys_compat = "st,stih416-front-syscfg" ,
129
129
.reg_fields = st_416sas_regfields ,
130
130
.ops = & st_syscfg_sensor_ops ,
@@ -134,7 +134,7 @@ const struct st_thermal_compat_data st_416sas_cdata = {
134
134
};
135
135
136
136
/* Compatible device data for stid127 thermal sensor */
137
- const struct st_thermal_compat_data st_127_cdata = {
137
+ static const struct st_thermal_compat_data st_127_cdata = {
138
138
.sys_compat = "st,stid127-cpu-syscfg" ,
139
139
.reg_fields = st_127_regfields ,
140
140
.ops = & st_syscfg_sensor_ops ,
@@ -152,12 +152,12 @@ static const struct of_device_id st_syscfg_thermal_of_match[] = {
152
152
};
153
153
MODULE_DEVICE_TABLE (of , st_syscfg_thermal_of_match );
154
154
155
- int st_syscfg_probe (struct platform_device * pdev )
155
+ static int st_syscfg_probe (struct platform_device * pdev )
156
156
{
157
157
return st_thermal_register (pdev , st_syscfg_thermal_of_match );
158
158
}
159
159
160
- int st_syscfg_remove (struct platform_device * pdev )
160
+ static int st_syscfg_remove (struct platform_device * pdev )
161
161
{
162
162
return st_thermal_unregister (pdev );
163
163
}
0 commit comments