From: Guenter Roeck Date: Sun, 21 Apr 2013 16:08:11 +0000 (-0700) Subject: hwmon: (nct6775) Constify strings X-Git-Tag: v3.10-rc1~195^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6d4b3621bb613da51ae7474c50f5cb37465b6f37;p=karo-tx-linux.git hwmon: (nct6775) Constify strings nct6775_sio_names should be a constant pointer to an array of constant strings. Signed-off-by: Guenter Roeck --- 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 = { .remove = nct6775_remove, }; -static const char *nct6775_sio_names[] __initconst = { +static const char * const nct6775_sio_names[] __initconst = { "NCT6775F", "NCT6776D/F", "NCT6779D",