Commit af300539 authored by Kiran Padwal's avatar Kiran Padwal Committed by Greg Kroah-Hartman

tty: serial: msm: Make of_device_id array const

Make of_device_id array const, because all OF functions handle it as const.
Signed-off-by: default avatarKiran Padwal <kiran.padwal@smartplayin.com>
Acked-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 850e93eb
...@@ -1065,7 +1065,7 @@ static int msm_serial_remove(struct platform_device *pdev) ...@@ -1065,7 +1065,7 @@ static int msm_serial_remove(struct platform_device *pdev)
return 0; return 0;
} }
static struct of_device_id msm_match_table[] = { static const struct of_device_id msm_match_table[] = {
{ .compatible = "qcom,msm-uart" }, { .compatible = "qcom,msm-uart" },
{ .compatible = "qcom,msm-uartdm" }, { .compatible = "qcom,msm-uartdm" },
{} {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment