提交 6d4b3621 编写于 作者: G Guenter Roeck

hwmon: (nct6775) Constify strings

nct6775_sio_names should be a constant pointer to an array of
constant strings.
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 29dd3b64
...@@ -4035,7 +4035,7 @@ static struct platform_driver nct6775_driver = { ...@@ -4035,7 +4035,7 @@ static struct platform_driver nct6775_driver = {
.remove = nct6775_remove, .remove = nct6775_remove,
}; };
static const char *nct6775_sio_names[] __initconst = { static const char * const nct6775_sio_names[] __initconst = {
"NCT6775F", "NCT6775F",
"NCT6776D/F", "NCT6776D/F",
"NCT6779D", "NCT6779D",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册