Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d4b3621 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (nct6775) Constify strings



nct6775_sio_names should be a constant pointer to an array of
constant strings.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 29dd3b64
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",