1
0
Fork 0

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>
hifive-unleashed-5.1
Guenter Roeck 2013-04-21 09:08:11 -07:00
parent 29dd3b64b9
commit 6d4b3621bb
1 changed files with 1 additions and 1 deletions

View 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",