summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/pmac_zilog.c
diff options
context:
space:
mode:
authorFabian Frederick2015-03-16 20:17:11 +0100
committerGreg Kroah-Hartman2015-03-26 22:49:10 +0100
commited0bb2323c9321b91dfa0ea8317fdc4d9592dce4 (patch)
tree2dfa6c5e00026501e022cb089fa5716bd0a5741a /drivers/tty/serial/pmac_zilog.c
parenttty/hvc_opal: constify of_device_id array (diff)
downloadkernel-qcow2-linux-ed0bb2323c9321b91dfa0ea8317fdc4d9592dce4.tar.gz
kernel-qcow2-linux-ed0bb2323c9321b91dfa0ea8317fdc4d9592dce4.tar.xz
kernel-qcow2-linux-ed0bb2323c9321b91dfa0ea8317fdc4d9592dce4.zip
tty: 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: Fabian Frederick <fabf@skynet.be> Acked-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Timur Tabi <timur@tabi.org> Acked-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/pmac_zilog.c')
-rw-r--r--drivers/tty/serial/pmac_zilog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c
index 8f515799c9c1..e156e39d620c 100644
--- a/drivers/tty/serial/pmac_zilog.c
+++ b/drivers/tty/serial/pmac_zilog.c
@@ -1846,7 +1846,7 @@ static int __init pmz_register(void)
#ifdef CONFIG_PPC_PMAC
-static struct of_device_id pmz_match[] =
+static const struct of_device_id pmz_match[] =
{
{
.name = "ch-a",