diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-08-05 11:14:35 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-09 02:28:28 +0400 |
commit | 4d199a55c41b25f4255eaeea358f944e33e91a4b (patch) | |
tree | 0411fd3852d63afdcbd876ab2a2104abac50cfbb /drivers/tty/serial/altera_uart.c | |
parent | 864119917de4fe041e43787681eb706e6fe86624 (diff) | |
download | linux-4d199a55c41b25f4255eaeea358f944e33e91a4b.tar.xz |
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_uart.c')
-rw-r--r-- | drivers/tty/serial/altera_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 6a243239dbef..1cb2cdb1bc42 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c @@ -610,7 +610,7 @@ static int altera_uart_remove(struct platform_device *pdev) } #ifdef CONFIG_OF -static struct of_device_id altera_uart_match[] = { +static const struct of_device_id altera_uart_match[] = { { .compatible = "ALTR,uart-1.0", }, { .compatible = "altr,uart-1.0", }, {}, |