Commit 37ff5252 authored by Fabian Frederick's avatar Fabian Frederick Committed by Greg Kroah-Hartman

tty/hvc_opal: constify of_device_id array

of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5f6d8515
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
static const char hvc_opal_name[] = "hvc_opal"; static const char hvc_opal_name[] = "hvc_opal";
static struct of_device_id hvc_opal_match[] = { static const struct of_device_id hvc_opal_match[] = {
{ .name = "serial", .compatible = "ibm,opal-console-raw" }, { .name = "serial", .compatible = "ibm,opal-console-raw" },
{ .name = "serial", .compatible = "ibm,opal-console-hvsi" }, { .name = "serial", .compatible = "ibm,opal-console-hvsi" },
{ }, { },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment