aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal21@gmail.com>2014-07-23 06:26:26 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-23 21:56:18 -0400
commitaf300539def51ef79be3cbc54379f1d86c1733ff (patch)
tree347342e0f37b4095efcb795f7ccce4d5b1cebd4d /drivers/tty/serial
parent850e93eb299dfe9379609d5755068d47b03954f8 (diff)
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: Kiran Padwal <kiran.padwal@smartplayin.com> Acked-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/msm_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c
index c549110509bb..0da0b5474e98 100644
--- a/drivers/tty/serial/msm_serial.c
+++ b/drivers/tty/serial/msm_serial.c
@@ -1065,7 +1065,7 @@ static int msm_serial_remove(struct platform_device *pdev)
1065 return 0; 1065 return 0;
1066} 1066}
1067 1067
1068static struct of_device_id msm_match_table[] = { 1068static const struct of_device_id msm_match_table[] = {
1069 { .compatible = "qcom,msm-uart" }, 1069 { .compatible = "qcom,msm-uart" },
1070 { .compatible = "qcom,msm-uartdm" }, 1070 { .compatible = "qcom,msm-uartdm" },
1071 {} 1071 {}