hwmon: (nct6775) Constify strings
authorGuenter Roeck <linux@roeck-us.net>
Sun, 21 Apr 2013 16:08:11 +0000 (09:08 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 21 Apr 2013 16:42:45 +0000 (09:42 -0700)
nct6775_sio_names should be a constant pointer to an array of
constant strings.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c

index 04ccfff44738a44428402f128b232bd854d2779b..14da90e09ff1987a400e15fc563bd0825746e90d 100644 (file)
@@ -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",