From patchwork Fri Aug 17 09:50:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 1338351 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 8D71FDF266 for ; Fri, 17 Aug 2012 10:01:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5697E9EB22 for ; Fri, 17 Aug 2012 03:01:57 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by gabe.freedesktop.org (Postfix) with ESMTP id 824E49EB22 for ; Fri, 17 Aug 2012 02:51:08 -0700 (PDT) Received: from epcpsbgm2.samsung.com (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M8W00BBS8OHZZ00@mailout4.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 17 Aug 2012 18:51:04 +0900 (KST) X-AuditID: cbfee61b-b7faf6d00000476a-ec-502e14087097 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 76.6E.18282.8041E205; Fri, 17 Aug 2012 18:51:04 +0900 (KST) Received: from daeinki-desktop.10.32.193.11 ([10.90.51.53]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M8W005HH8OZZTB0@mmp2.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 17 Aug 2012 18:51:04 +0900 (KST) From: Inki Dae To: airlied@linux.ie, dri-devel@lists.freedesktop.org Subject: [PATCH 12/13] drm/exynos: fixed build warning Date: Fri, 17 Aug 2012 18:50:58 +0900 Message-id: <1345197059-25583-13-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.7.4.1 In-reply-to: <1345197059-25583-1-git-send-email-inki.dae@samsung.com> References: <1345197059-25583-1-git-send-email-inki.dae@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMJMWRmVeSWpSXmKPExsVy+t9jQV0OEb0AgzMXJCyufH3P5sDocb/7 OFMAYxSXTUpqTmZZapG+XQJXxsSl59kLVrBXLL48jb2BcQFbFyMnh4SAicSSb4+YIWwxiQv3 1gPFuTiEBKYzSsw92cUE4axnkui4dYsFpIpNQFVi4or7YN0iAqYSHZOWgsWZBQolFvY8BbOF Bcwkjt2fAzaVBaj+1sppTCA2r4CrxL5Ft9khtilILLj3FmwOJ1D87vLJYDVCAi4SjZt7WCcw 8i5gZFjFKJpakFxQnJSea6RXnJhbXJqXrpecn7uJEez1Z9I7GFc1WBxiFOBgVOLhPVCmGyDE mlhWXJl7iFGCg1lJhHfFR6AQb0piZVVqUX58UWlOavEhRmkOFiVxXq//QCmB9MSS1OzU1ILU IpgsEwenVAOjkV1TalITv7uD+KEF6Q7bF/HtbJOyWTy/mi+3abuUE+/q9xcnp2vOs4+xa/6n NrdN6E3qjz97zlzbsFFrYl6m5OLpUZPb8lkUJKacst169+/J7CmrBS/F/68/4DudS9755+/K nXLaXVVLnkufW8dW8XermPOhMnXWKL6QKyEdLm+MjkcZca9SYinOSDTUYi4qTgQAlSPibvYB AAA= X-TM-AS-MML: No Cc: kyungmin.park@samsung.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org the argument of drm_hdmi_mode_fixup function, struct drm_display_mode should be declared as const. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_hdmi.c b/drivers/gpu/drm/exynos/exynos_drm_hdmi.c index bced38e..38250cb 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_hdmi.c @@ -142,7 +142,7 @@ static void drm_hdmi_disable_vblank(struct device *subdrv_dev) static void drm_hdmi_mode_fixup(struct device *subdrv_dev, struct drm_connector *connector, - struct drm_display_mode *mode, + const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) { struct drm_hdmi_context *ctx = to_context(subdrv_dev);