From patchwork Tue Jul 7 13:00:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6732571 Return-Path: X-Original-To: patchwork-linux-fbdev@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 A06CCC05AC for ; Tue, 7 Jul 2015 13:01:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 33F92206E2 for ; Tue, 7 Jul 2015 13:01:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 77DFC206CE for ; Tue, 7 Jul 2015 13:01:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756905AbbGGNBY (ORCPT ); Tue, 7 Jul 2015 09:01:24 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:33562 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754219AbbGGNBX (ORCPT ); Tue, 7 Jul 2015 09:01:23 -0400 Received: by pdbdz6 with SMTP id dz6so30859130pdb.0; Tue, 07 Jul 2015 06:01: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; bh=TT9q7HI4/hMNBSFlFgyzO+liTZYA06502WtpEUAPRfg=; b=VnpbWH0BTelW+ISDdhFrZ6AoJqpLRyVuJ5+5e7hku974ixl3B2Z3ieEbyQd54QTpS3 LhB0qqQAgmxPB6RrBi4m9EnyD6iurETCHYvr2rcLTev3WH2+N1FkiDxhdy9mKaJiFEXX KqGEAudnRW4ISK3v8fWlzgRzRxcXVnSZaRRviqWbtnroOtgWuObc3OIUkjOcow1lEYd+ OITl8B14YZ7FPo4iirnWyUaoj1x5ejJm7Q2UYa3LM7gBzYeX4Xr4UkQ2BfM2WYhtIyXP AWXwPKJRWfoZEpI/pf+fElI2eBg46sjsh7FR6l+soJNxb3YZ1ugKqQw+orLuCE4OF2Tw QAeQ== X-Received: by 10.70.134.198 with SMTP id pm6mr8861333pdb.17.1436274083513; Tue, 07 Jul 2015 06:01:23 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id de2sm21933996pdb.15.2015.07.07.06.01.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jul 2015 06:01:22 -0700 (PDT) From: Krzysztof Kozlowski To: Jingoo Han , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id Date: Tue, 7 Jul 2015 22:00:47 +0900 Message-Id: <1436274047-3274-1-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.6 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 The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski Acked-by: Jingoo Han --- drivers/video/fbdev/s3c-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c index 7e3a05fc47aa..f72dd12456f9 100644 --- a/drivers/video/fbdev/s3c-fb.c +++ b/drivers/video/fbdev/s3c-fb.c @@ -1938,7 +1938,7 @@ static struct s3c_fb_driverdata s3c_fb_data_s3c2443 = { }, }; -static struct platform_device_id s3c_fb_driver_ids[] = { +static const struct platform_device_id s3c_fb_driver_ids[] = { { .name = "s3c-fb", .driver_data = (unsigned long)&s3c_fb_data_64xx,