From patchwork Fri May 1 15:57:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6311121 Return-Path: X-Original-To: patchwork-dmaengine@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 0BCFCBEEE5 for ; Fri, 1 May 2015 15:59:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4E09C20121 for ; Fri, 1 May 2015 15:59:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 69B66203AA for ; Fri, 1 May 2015 15:59:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754761AbbEAP6F (ORCPT ); Fri, 1 May 2015 11:58:05 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:34325 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754654AbbEAP6D (ORCPT ); Fri, 1 May 2015 11:58:03 -0400 Received: by pdbqa5 with SMTP id qa5so95694079pdb.1; Fri, 01 May 2015 08:58:02 -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=Fl6/X/05dYz/f8jxlV0UgGiQte6ib6QEzKNh5+4W+zE=; b=rtKvoV08WaCPyUMmBoHkljrgXIB46MLy6gaOmvSE0O3J8LUs7uZ4xzyE1bos2Ry+ZM 0hBjn0UIePwK7mN+xMXJJ21ZioYxfv6mWkZMazUGhdrB8LkpSWrEFnEDdiN6V6/ljlNN YFIuzB1A7+RnfYoX4Lwr0aQHRfExSEVYYzL8er4RO2FOJFTz8Pq1iR1E/J+yBDKnmbyJ /37TJLQU+v3Tox0DfL+AFKk4kgtCiSK+TNb9WqWW5WfTmi3U50DpVR3Q12iFUrFukJLi U+GCwm8IdhP9u0xrrAmUP6A/fqkiJaXyIXl+P/tzcqobyiZT9I3o00j8VjsXBUyZQ0Mk AzhQ== X-Received: by 10.66.189.105 with SMTP id gh9mr71456pac.41.1430495882384; Fri, 01 May 2015 08:58:02 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id sl9sm5237776pac.41.2015.05.01.08.57.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 May 2015 08:58:01 -0700 (PDT) From: Krzysztof Kozlowski To: Dan Williams , Vinod Koul , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id Date: Sat, 2 May 2015 00:57:45 +0900 Message-Id: <1430495869-32128-1-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 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/ep93xx_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ep93xx_dma.c b/drivers/dma/ep93xx_dma.c index 24e5290faa32..57ff46284f15 100644 --- a/drivers/dma/ep93xx_dma.c +++ b/drivers/dma/ep93xx_dma.c @@ -1364,7 +1364,7 @@ static int __init ep93xx_dma_probe(struct platform_device *pdev) return ret; } -static struct platform_device_id ep93xx_dma_driver_ids[] = { +static const struct platform_device_id ep93xx_dma_driver_ids[] = { { "ep93xx-dma-m2p", 0 }, { "ep93xx-dma-m2m", 1 }, { },