summaryrefslogtreecommitdiff
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorSanjeev Sharma <sanjeev_sharma@mentor.com>2015-02-03 13:46:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-07 05:13:07 +0300
commitad3d4fdc8ee6d268d90d1a29bccd5318fa071cab (patch)
tree364f60c4ffa44f59353bb7d21a64693793bc5a7c /drivers/tty/serial
parent6ae4a16cf4b6d449778697701de1b2ea86726def (diff)
downloadlinux-ad3d4fdc8ee6d268d90d1a29bccd5318fa071cab.tar.xz
serial:imx make of_device_id array const
Make of_device_id array const. Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 0eb29b1c47ac..412bfbf8730b 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -273,7 +273,7 @@ static struct platform_device_id imx_uart_devtype[] = {
};
MODULE_DEVICE_TABLE(platform, imx_uart_devtype);
-static struct of_device_id imx_uart_dt_ids[] = {
+static const struct of_device_id imx_uart_dt_ids[] = {
{ .compatible = "fsl,imx6q-uart", .data = &imx_uart_devdata[IMX6Q_UART], },
{ .compatible = "fsl,imx1-uart", .data = &imx_uart_devdata[IMX1_UART], },
{ .compatible = "fsl,imx21-uart", .data = &imx_uart_devdata[IMX21_UART], },