diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-02 00:40:02 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-10 19:08:16 +0200 |
commit | 31ada047681834d0d6f04adfb305ff26b52d2823 (patch) | |
tree | 50e169c2bc559eda5b61a06bb49df1336354b72a /drivers/tty/serial/imx.c | |
parent | 99fb215eea10b9c7e8ab172e5932d296e63c3f73 (diff) |
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/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 8aff0b4d8ddf..91e36bcfde74 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], |