diff options
author | Kiran Padwal | 2014-07-23 12:26:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-07-24 03:56:18 +0200 |
commit | af300539def51ef79be3cbc54379f1d86c1733ff (patch) | |
tree | 347342e0f37b4095efcb795f7ccce4d5b1cebd4d | |
parent | tty/n_gsm.c: get gsm->num after gsm_activate_mux (diff) | |
download | kernel-qcow2-linux-af300539def51ef79be3cbc54379f1d86c1733ff.tar.gz kernel-qcow2-linux-af300539def51ef79be3cbc54379f1d86c1733ff.tar.xz kernel-qcow2-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>
-rw-r--r-- | drivers/tty/serial/msm_serial.c | 2 |
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" }, {} |