summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal21@gmail.com>2014-07-23 12:26:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-24 03:56:18 +0200
commitaf300539def51ef79be3cbc54379f1d86c1733ff (patch)
tree347342e0f37b4095efcb795f7ccce4d5b1cebd4d /drivers/tty
parenttty/n_gsm.c: get gsm->num after gsm_activate_mux (diff)
downloadlinux-af300539def51ef79be3cbc54379f1d86c1733ff.tar.xz
linux-af300539def51ef79be3cbc54379f1d86c1733ff.zip
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')
-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)
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-uartdm" },
{}