diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2012-05-21 15:57:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-12 18:40:08 -0400 |
commit | 7d0b066fbb912debc18e9556187f2d0313b8469e (patch) | |
tree | 1ce2da3572b023cc5c5c9441fde270fddc21b62f /drivers/tty/serial/imx.c | |
parent | 7b15e1d9e342aca6c65f4824f1957f5245fcd87a (diff) |
serial/imx: make devdata member point to const data
This is only cosmetic for now. In case that
http://mid.gmane.org/1335171381-24869-1-git-send-email-u.kleine-koenig@pengutronix.de
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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/imx.c')
-rw-r--r-- | drivers/tty/serial/imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 4ef747307ecb..0af4eec8c7b1 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c | |||
@@ -207,7 +207,7 @@ struct imx_port { | |||
207 | unsigned short trcv_delay; /* transceiver delay */ | 207 | unsigned short trcv_delay; /* transceiver delay */ |
208 | struct clk *clk_ipg; | 208 | struct clk *clk_ipg; |
209 | struct clk *clk_per; | 209 | struct clk *clk_per; |
210 | struct imx_uart_data *devdata; | 210 | const struct imx_uart_data *devdata; |
211 | }; | 211 | }; |
212 | 212 | ||
213 | struct imx_port_ucrs { | 213 | struct imx_port_ucrs { |