hwmon: (nct6775) Constify strings
Guenter Roeck
maintainerPATCH 1/2 hwmon: (nct6775) Constify strings
nct6775_sio_names should be a constant pointer to an array of constant strings.
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/hwmon/nct6775.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/nct6775.c +1 -1
@@ -4035,7 +4035,7 @@ static struct platform_driver nct6775_driver = { .remove = nct6775_remove, }; -static const char *nct6775_sio_names[]__initconst = { +static const char *const nct6775_sio_names[]__initconst = {"NCT6775F" ,"NCT6776D/F" ,"NCT6779D" ,
Signature · 7 lines
1.7.9.7 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors