diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-04-21 12:08:11 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-04-21 12:42:45 -0400 |
commit | 6d4b3621bb613da51ae7474c50f5cb37465b6f37 (patch) | |
tree | 4a49e0705587c688186704aa4617bd5f24314cb5 /drivers/hwmon/nct6775.c | |
parent | 29dd3b64b9edba3dd3dc8bb4d589869a4597a710 (diff) |
hwmon: (nct6775) Constify strings
nct6775_sio_names should be a constant pointer to an array of
constant strings.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/nct6775.c')
-rw-r--r-- | drivers/hwmon/nct6775.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c index 04ccfff44738..14da90e09ff1 100644 --- a/drivers/hwmon/nct6775.c +++ b/drivers/hwmon/nct6775.c | |||
@@ -4035,7 +4035,7 @@ static struct platform_driver nct6775_driver = { | |||
4035 | .remove = nct6775_remove, | 4035 | .remove = nct6775_remove, |
4036 | }; | 4036 | }; |
4037 | 4037 | ||
4038 | static const char *nct6775_sio_names[] __initconst = { | 4038 | static const char * const nct6775_sio_names[] __initconst = { |
4039 | "NCT6775F", | 4039 | "NCT6775F", |
4040 | "NCT6776D/F", | 4040 | "NCT6776D/F", |
4041 | "NCT6779D", | 4041 | "NCT6779D", |