[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1425280117-3861-1-git-send-email-sanjeev_sharma@mentor.com>
Date: Mon, 2 Mar 2015 12:38:37 +0530
From: Sanjeev Sharma <sanjeev_sharma@...tor.com>
To: <gregkh@...uxfoundation.org>
CC: <jslaby@...e.cz>, <linux-serial@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
Sanjeev Sharma <sanjeev_sharma@...tor.com>,
Sanjeev Sharma <Sanjeev_Sharma@...tor.com>
Subject: [PATCH] serial:imx make of_device_id array const
Make of_device_id array const.
Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@...tor.com>
---
drivers/tty/serial/imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 0eb29b1..412bfbf 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], },
--
1.7.11.7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists