Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757845AbaGWK3a (ORCPT ); Wed, 23 Jul 2014 06:29:30 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:37298 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757736AbaGWK31 (ORCPT ); Wed, 23 Jul 2014 06:29:27 -0400 From: Kiran Padwal X-Google-Original-From: Kiran Padwal To: davidb@codeaurora.org, gregkh@linuxfoundation.org Cc: dwalker@fifo99.com, bryanh@codeaurora.org, jslaby@suse.cz, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, kiran.padwal@smartplayin.com Subject: [PATCH] tty: serial: msm: Make of_device_id array const Date: Wed, 23 Jul 2014 15:56:26 +0530 Message-Id: <1406111186-16627-1-git-send-email-kiran.padwal@smartplayin.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal --- drivers/tty/serial/msm_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index 6baf2ad..f4a85b8 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c @@ -1073,7 +1073,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" }, {} -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/