From patchwork Fri May 1 15:56:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6313231 Return-Path: X-Original-To: patchwork-dri-devel@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 52526BEEE5 for ; Fri, 1 May 2015 22:32:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 89148203E9 for ; Fri, 1 May 2015 22:32:30 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9A82C203C1 for ; Fri, 1 May 2015 22:32:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7DC227A10F; Fri, 1 May 2015 15:32:27 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by gabe.freedesktop.org (Postfix) with ESMTP id 0327D6E19A for ; Fri, 1 May 2015 08:57:10 -0700 (PDT) Received: by pacyx8 with SMTP id yx8so94260951pac.1 for ; Fri, 01 May 2015 08:57:09 -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=0FoOhjoqvIDHp+cbmb5pFv4B6MWBztOSEenYC3yMmw4=; b=d1TYjcH3G5mTwZRbULFxWhl+YdoJTaXNPwbUjRZcMrcwC9/uE4Nt67oWCvYH86tT6X IxskPGfTi3c9IjlrwgMgqZjBhgsYSI3arC84zOzk+7fDweSMLckiaKcmQ1Ph3BJf7+PH paqSiAvNab8oB0Qnla0fQ0+houwe2H14Zqzd04bgMp+Xd8vFQOHcTbWkPFAgrRLYMrgf 8ikc6IbOJ07Bf2790QxGsg+9mgE05ULcPjT/v/nTJJZ7lmGXrApeYVM30WPDi55/VS+g ZaAVHaDKV1yS4mxnVhMAwAvUwXPrphtuA3HsRU5oi9kwEO2u+UDcvDcxCuwe95MCLXSN cTjA== X-Received: by 10.68.229.136 with SMTP id sq8mr19194818pbc.160.1430495829689; Fri, 01 May 2015 08:57:09 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id vi5sm5199399pbc.89.2015.05.01.08.57.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 May 2015 08:57:08 -0700 (PDT) From: Krzysztof Kozlowski To: Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , David Airlie , Kukjin Kim , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/exynos: mixer: Constify platform_device_id Date: Sat, 2 May 2015 00:56:36 +0900 Message-Id: <1430495796-32016-1-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 X-Mailman-Approved-At: Fri, 01 May 2015 15:32:26 -0700 Cc: Krzysztof Kozlowski X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, 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 --- drivers/gpu/drm/exynos/exynos_mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index fbec750574e6..512549a35e96 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1156,7 +1156,7 @@ static struct mixer_drv_data exynos4210_mxr_drv_data = { .has_sclk = 1, }; -static struct platform_device_id mixer_driver_types[] = { +static const struct platform_device_id mixer_driver_types[] = { { .name = "s5p-mixer", .driver_data = (unsigned long)&exynos4210_mxr_drv_data,