From patchwork Fri May 1 15:57:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6311031 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 656A49F443 for ; Fri, 1 May 2015 15:58:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9E15320121 for ; Fri, 1 May 2015 15:58:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6E15E203A1 for ; Fri, 1 May 2015 15:58:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754804AbbEAP6P (ORCPT ); Fri, 1 May 2015 11:58:15 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:36543 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754529AbbEAP6O (ORCPT ); Fri, 1 May 2015 11:58:14 -0400 Received: by pabsx10 with SMTP id sx10so94214511pab.3; Fri, 01 May 2015 08:58:13 -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=CQQkKQxmYftiaGn6mS6guaD9vBDnNXMGhR0jc8swngg=; b=hgZdTfWgiZ75rAtwxRst+NjqBDuphfUAwuN2PlJd7F3YXnBKPDzt5LX6aZtf5GF7jB Af41VbYmrDBp3YzHi3/f8BWyJdmNK352vJ6g7+VKYs+snyh1FJm3B6QbHMcs7loC9QfS kFVoM4V4LyNhZ23cLK5wivo8ucFIDVkO8drb0ZPTbDdPyKjqB0kvgEfqAQERrIjGsx/7 Co2KfWvAAQHNJPLOitvH6T0DktwNAL9/H30qgLQPvhTUPfkLoKhm+NoscFHav9dAiiSO Gv2AGTpOk7ETMkeKKVFN3uDuWSrX6FjH3a1aeg6lDnS9HmVlNNk2L2n7ls4d+6A1hAAf 5dJA== X-Received: by 10.66.228.130 with SMTP id si2mr18898138pac.92.1430495893696; Fri, 01 May 2015 08:58:13 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id sl9sm5237776pac.41.2015.05.01.08.58.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 May 2015 08:58:13 -0700 (PDT) From: Krzysztof Kozlowski To: Dan Williams , Vinod Koul , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/5] dmaengine: s3c24xx: Constify platform_device_id Date: Sat, 2 May 2015 00:57:49 +0900 Message-Id: <1430495869-32128-5-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1430495869-32128-1-git-send-email-k.kozlowski.k@gmail.com> References: <1430495869-32128-1-git-send-email-k.kozlowski.k@gmail.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@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/dma/s3c24xx-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index 01dcaf21b988..17ccdfd28f37 100644 --- a/drivers/dma/s3c24xx-dma.c +++ b/drivers/dma/s3c24xx-dma.c @@ -1168,7 +1168,7 @@ static struct soc_data soc_s3c2443 = { .has_clocks = true, }; -static struct platform_device_id s3c24xx_dma_driver_ids[] = { +static const struct platform_device_id s3c24xx_dma_driver_ids[] = { { .name = "s3c2410-dma", .driver_data = (kernel_ulong_t)&soc_s3c2410,