提交 31ada047 编写于 作者: K Krzysztof Kozlowski 提交者: Greg Kroah-Hartman

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: NKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 99fb215e
......@@ -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],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册