diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-01 15:40:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-10 17:08:16 (GMT) |
commit | 31ada047681834d0d6f04adfb305ff26b52d2823 (patch) | |
tree | 50e169c2bc559eda5b61a06bb49df1336354b72a /drivers | |
parent | 99fb215eea10b9c7e8ab172e5932d296e63c3f73 (diff) | |
download | linux-31ada047681834d0d6f04adfb305ff26b52d2823.tar.xz |
serial: imx: Constify platform_device_id
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-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 8aff0b4..91e36bc 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -239,7 +239,7 @@ static struct imx_uart_data imx_uart_devdata[] = { }, }; -static struct platform_device_id imx_uart_devtype[] = { +static const struct platform_device_id imx_uart_devtype[] = { { .name = "imx1-uart", .driver_data = (kernel_ulong_t) &imx_uart_devdata[IMX1_UART], |