From patchwork Fri May 1 15:49:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6310591 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 670B8BEEE1 for ; Fri, 1 May 2015 15:52:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D2A720443 for ; Fri, 1 May 2015 15:52:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B7CF22042B for ; Fri, 1 May 2015 15:52:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754385AbbEAPv2 (ORCPT ); Fri, 1 May 2015 11:51:28 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34567 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754332AbbEAPvY (ORCPT ); Fri, 1 May 2015 11:51:24 -0400 Received: by pacyx8 with SMTP id yx8so94131585pac.1; Fri, 01 May 2015 08:51:23 -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:in-reply-to:references; bh=Qa4yQSEF4fEkg/i2qX5PDjNPP1/pL7J4+aT3FLRgZHM=; b=oHLXFLtycZTXbRervUuWGwe3kJYwL1kp4M6jGFWyh9hZ3jhuOQ3YO9ubDRsgUSd6cb aKnI27GNzPL+FRNWlFuxWSfnO7GKgXM17Zq91qI4ETdzFjD3A3SHxMVi/wTWheC6BoTF vJiqwUvgvwvtrjdf0L7NSGlaK6j84JDR5gfC7dZWa5RCnTYN9UIIT5PiQ+q9wyriyxoU UR2F3ru271PXiEGcuWbbkYwsbW2ZcaThMpnW0WSnozJ7PAgCPwbPpb3oKU+mL5KF5ai0 b7gL2eREmM1dv5ddY1ALy8755pDXJVcp1lxPjtBTscBj1YP9bGgPR+UV3eHr38VuEn/z j/ug== X-Received: by 10.66.63.106 with SMTP id f10mr18949367pas.0.1430495483929; Fri, 01 May 2015 08:51:23 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id ia3sm5208714pbc.31.2015.05.01.08.51.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 May 2015 08:51:23 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ben Dooks , Jaehoon Chung Cc: Krzysztof Kozlowski Subject: [PATCH 3/6] mmc: rtsx: Constify platform_device_id Date: Sat, 2 May 2015 00:49:19 +0900 Message-Id: <1430495362-31506-3-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1430495362-31506-1-git-send-email-k.kozlowski.k@gmail.com> References: <1430495362-31506-1-git-send-email-k.kozlowski.k@gmail.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/rtsx_pci_sdmmc.c | 2 +- drivers/mmc/host/rtsx_usb_sdmmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c index 1d3d6c4bfdc6..93137483ecde 100644 --- a/drivers/mmc/host/rtsx_pci_sdmmc.c +++ b/drivers/mmc/host/rtsx_pci_sdmmc.c @@ -1474,7 +1474,7 @@ static int rtsx_pci_sdmmc_drv_remove(struct platform_device *pdev) return 0; } -static struct platform_device_id rtsx_pci_sdmmc_ids[] = { +static const struct platform_device_id rtsx_pci_sdmmc_ids[] = { { .name = DRV_NAME_RTSX_PCI_SDMMC, }, { diff --git a/drivers/mmc/host/rtsx_usb_sdmmc.c b/drivers/mmc/host/rtsx_usb_sdmmc.c index 88af827e086b..6c71fc9f76c7 100644 --- a/drivers/mmc/host/rtsx_usb_sdmmc.c +++ b/drivers/mmc/host/rtsx_usb_sdmmc.c @@ -1439,7 +1439,7 @@ static int rtsx_usb_sdmmc_drv_remove(struct platform_device *pdev) return 0; } -static struct platform_device_id rtsx_usb_sdmmc_ids[] = { +static const struct platform_device_id rtsx_usb_sdmmc_ids[] = { { .name = "rtsx_usb_sdmmc", }, {