This is only cosmetic for now. In case that

        
http://mid.gmane.org/[email protected]

will be applied, it fixes a warning

        drivers/tty/serial/imx.c: In function 'serial_imx_probe_dt':
        drivers/tty/serial/imx.c:1430:17: warning: assignment discards 'const' 
qualifier from pointer target type [enabled by default]

though.

Signed-off-by: Uwe Kleine-König <[email protected]>
---
 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 e7fecee..d409bbb 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -205,7 +205,7 @@ struct imx_port {
        unsigned int            irda_inv_tx:1;
        unsigned short          trcv_delay; /* transceiver delay */
        struct clk              *clk;
-       struct imx_uart_data    *devdata;
+       const struct imx_uart_data *devdata;
 };
 
 struct imx_port_ucrs {
-- 
1.7.10

_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to