hwmon: (asus_atk0110) Fix incorrect placement of __initconst
Subsystems (2)
PATCH 1/1 hwmon: (asus_atk0110) Fix incorrect placement of __initconst
__initconst should be placed between the variable name and equal sign for the variable to be placed in the intended section.
--- drivers/hwmon/asus_atk0110.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/asus_atk0110.c +1 -1
@@ -29,7 +29,7 @@ static bool new_if;module_param (new_if, bool,0 );MODULE_PARM_DESC (new_if,"Override detection heuristic and force the use of the new ATK0110 interface" ); -static const struct dmi_system_id __initconst atk_force_new_if[] = { +static const struct dmi_system_id atk_force_new_if[]__initconst = { {/* Old interface has broken MCH temp monitoring */ .ident ="Asus Sabertooth X58" ,
Signature · 7 lines
1.7.9.5 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 6 lines · Sachin Kamat
__initconstshould be placed between the variable name and equal sign for the variable to be placed in the intended section.Signed-off-by Sachin Kamat <[email protected]>Cc Luca Tettamanti <[email protected]>---
Applied to -next.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Guenter Roeck
maintainerQuoted 14 lines · Sachin Kamat
__initconstshould be placed between the variable name and equal sign for the variable to be placed in the intended section.Signed-off-by Sachin Kamat <[email protected]>Cc Luca Tettamanti <[email protected]>--- drivers/hwmon/asus_atk0110.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hwmon/asus_atk0110.c +0
-0
drivers/hwmon/asus_atk0110.c static bool new_if; · line 35
Quoted 8 lines
drivers/hwmon/asus_atk0110.c +1
-1@@ -29,7 +29,7 @@ static bool new_if;module_param (new_if, bool,0 );MODULE_PARM_DESC (new_if,"Override detection heuristic and force the use of the new ATK0110 interface" ); -static const struct dmi_system_id __initconst atk_force_new_if[] = { +static const struct dmi_system_id atk_force_new_if[]__initconst = { {/* Old interface has broken MCH temp monitoring */ .ident ="Asus Sabertooth X58" ,
Based on the other discussion we just had, this patch is unnecessary. I will therefore drop it from my queue.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors