diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-08-05 09:14:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-08 15:28:28 -0700 |
commit | 4d199a55c41b25f4255eaeea358f944e33e91a4b (patch) | |
tree | 0411fd3852d63afdcbd876ab2a2104abac50cfbb /drivers/tty/serial/altera_jtaguart.c | |
parent | tty: serial: msm: Fix 'void function return statements are not generally useful' warning (diff) | |
download | linux-dev-4d199a55c41b25f4255eaeea358f944e33e91a4b.tar.xz linux-dev-4d199a55c41b25f4255eaeea358f944e33e91a4b.zip |
serial: altera: Make of_device_id arrays const
Make the of_device_id arrays const, as it is handled as const by all OF
functions.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/altera_jtaguart.c')
-rw-r--r-- | drivers/tty/serial/altera_jtaguart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index d22e3d98ae23..932e01995c0a 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c @@ -462,7 +462,7 @@ static int altera_jtaguart_remove(struct platform_device *pdev) } #ifdef CONFIG_OF -static struct of_device_id altera_jtaguart_match[] = { +static const struct of_device_id altera_jtaguart_match[] = { { .compatible = "ALTR,juart-1.0", }, { .compatible = "altr,juart-1.0", }, {}, |