From patchwork Wed Jul 23 07:38:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiran padwal X-Patchwork-Id: 4609081 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 180E69F37C for ; Wed, 23 Jul 2014 07:42:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1795620172 for ; Wed, 23 Jul 2014 07:42:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DFFFF20107 for ; Wed, 23 Jul 2014 07:41:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755655AbaGWHl6 (ORCPT ); Wed, 23 Jul 2014 03:41:58 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:54952 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751301AbaGWHl5 (ORCPT ); Wed, 23 Jul 2014 03:41:57 -0400 Received: by mail-pd0-f169.google.com with SMTP id y10so1142360pdj.0 for ; Wed, 23 Jul 2014 00:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=0To1V4Y3LWeqdswwAIKRRwW7TtNRR8IdeutAu+pF5Ng=; b=nF4+hUO9BsRrUVE0IsHOxQXMzs1NmUGAGxRqEzovwZkzdLVPfO7I61Sozea1EZtB+A achqxOqQp0X5IRdGkzWltInDQhYasjySzHi3NUPgJYT92N5ldGQhCluNlOgQn7YpyMoM b2K7104BClCPFIF7W8zE+2lMCUzTP/7QAFmZN9wVoBpgmTn/QBTF0YnqBGIt5bDtN1fr Yd3BlnNk0aBoneIw4jtjex5qzMnB9qkU6LRmuAKNQheR/Q4BVP6K8wPnVhEmb55B847j DRwy3jNTl7aChOILSoZVvukHKfNn3lQL1vq21lBVKZJLlEbKZqz4Zn712uC6239Ex88b JWjQ== X-Received: by 10.70.38.161 with SMTP id h1mr8145139pdk.142.1406101316834; Wed, 23 Jul 2014 00:41:56 -0700 (PDT) Received: from SPINITDTDL00291.smartplayin.local ([111.93.143.34]) by mx.google.com with ESMTPSA id et1sm1435666pbc.39.2014.07.23.00.41.54 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jul 2014 00:41:56 -0700 (PDT) From: Kiran Padwal X-Google-Original-From: Kiran Padwal To: balbi@ti.com, linux-usb@vger.kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, kiran.padwal@smartplayin.com Subject: [PATCH] usb: phy: msm: Make of_device_id array const Date: Wed, 23 Jul 2014 13:08:22 +0530 Message-Id: <1406101102-11894-1-git-send-email-kiran.padwal@smartplayin.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal --- drivers/usb/phy/phy-msm-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c index 78cc870..e4108ee 100644 --- a/drivers/usb/phy/phy-msm-usb.c +++ b/drivers/usb/phy/phy-msm-usb.c @@ -1429,7 +1429,7 @@ static void msm_otg_debugfs_cleanup(void) debugfs_remove(msm_otg_dbg_root); } -static struct of_device_id msm_otg_dt_match[] = { +static const struct of_device_id msm_otg_dt_match[] = { { .compatible = "qcom,usb-otg-ci", .data = (void *) CI_45NM_INTEGRATED_PHY