From patchwork Fri May 1 15:59: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: 6311251 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 055DBBEEE1 for ; Fri, 1 May 2015 16:01:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 358D7203AA for ; Fri, 1 May 2015 16:01:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 582A62011D for ; Fri, 1 May 2015 16:01:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755004AbbEAQBe (ORCPT ); Fri, 1 May 2015 12:01:34 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:36224 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753826AbbEAQAd (ORCPT ); Fri, 1 May 2015 12:00:33 -0400 Received: by pabsx10 with SMTP id sx10so94267157pab.3; Fri, 01 May 2015 09:00:33 -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=6rC1EfEqCrC38tJb8OgEX8SlJn4paWnsC1z9KmQeAOs=; b=0kXtfGhN5j5qS1VO7AFG+xeT33TEqyOFGrTmfDoQ0qkuYbe0C7Utou1SI+PlWG9T9E tG2djQg5V6HNGuKeXpgh7CUHOFQyybcBLhZCC39UWpYUyvm0CxqXl2IltR5f5j2Zvbq1 VjRDrw0fNEc1b+31CHRZRuPbgZ3Th3HE1/oIxHAyNIRM54mevOHwJT4mkaH4DyUcrFYx xVqDqroTJ4F+f0ugESpP3Jnu7qhKbNsDhkn8R2Y3IJfCE3BMe8EfPZESeoi5OoIV9edq 3axWbxWx6MrynZHqEccgZWDKHc/o1U9ZVNDFGKexPkOKj34unWDukWNstX7MjpSTAeqj 7APQ== X-Received: by 10.70.35.6 with SMTP id d6mr18740301pdj.166.1430496033071; Fri, 01 May 2015 09:00:33 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id id2sm5216957pbb.56.2015.05.01.09.00.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 May 2015 09:00:32 -0700 (PDT) From: Krzysztof Kozlowski To: Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] ARM: plat-samsung: Constify platform_device_id Date: Sat, 2 May 2015 00:59:45 +0900 Message-Id: <1430495985-32265-1-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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=unavailable 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 --- arch/arm/plat-samsung/adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/plat-samsung/adc.c b/arch/arm/plat-samsung/adc.c index e2be70df06c6..8a2e07c9b5fe 100644 --- a/arch/arm/plat-samsung/adc.c +++ b/arch/arm/plat-samsung/adc.c @@ -475,7 +475,7 @@ static int s3c_adc_resume(struct device *dev) #define s3c_adc_resume NULL #endif -static struct platform_device_id s3c_adc_driver_ids[] = { +static const struct platform_device_id s3c_adc_driver_ids[] = { { .name = "s3c24xx-adc", .driver_data = TYPE_ADCV1,