From patchwork Fri Jul 20 08:30:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 1220111 Return-Path: X-Original-To: patchwork-intel-gfx@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 8D5C1DF24C for ; Fri, 20 Jul 2012 08:32:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F7A0A1019 for ; Fri, 20 Jul 2012 01:32:00 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 2C1609ECE0 for ; Fri, 20 Jul 2012 01:30:44 -0700 (PDT) Received: by wibhq4 with SMTP id hq4so184883wib.12 for ; Fri, 20 Jul 2012 01:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:x-mailer; bh=qOaca8B5TF4FspjVyPMfS+xY1HWgksGXa+ZoYKO1Kpo=; b=j01amt3spdXHSzAic77dhWPFWXntCdh8lFdVS+r0SlFX0M3fqwbbAIe4FBgrwCjFfL AMkeyPfviLJuKuNYAHSvozOp5YMdzyxw+NXtKxPYV1qnvf3LKrvkxgapQEGVks+Mhg56 HxIV6kNZcQ5sVPyvoTrqWHZK1aTBNpiSQQxl4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=qOaca8B5TF4FspjVyPMfS+xY1HWgksGXa+ZoYKO1Kpo=; b=pJecsxd3xOvMrFOBGo3XSzbe1Fpg8dsRP7cTJ9pyAfC5d1EmH/UjNmmvogeBhSP2E8 biJ0ClBSQjn47dqnk/vV76JbLOaz3AaUjX9++f2qg/creTAQPtKs5Zwwi1M0zpKH38w5 MDTs8/Kou+LRQWsvwDdg1NCOhRnqduZg/bGNNkCphoPP4FpgO68fqC+mEiFMGzYGdd6b 5angd/aC1QVd9Bxw5hVeBkUZAkt5PPFS1SptWMk7gq3N60g6nkO8UGwMGpYHBOXH5BXw J6bnXS3E9XQtXsF89HA7IaaJqxhyRxNiZspI6CdoHT/S+hz2kh1QLwkdhlw6/0Ajwkfx nlrQ== Received: by 10.216.136.222 with SMTP id w72mr3130143wei.119.1342773043083; Fri, 20 Jul 2012 01:30:43 -0700 (PDT) Received: from phenom.ffwll.local (178-83-130-250.dynamic.hispeed.ch. [178.83.130.250]) by mx.google.com with ESMTPS id o2sm13232006wiz.11.2012.07.20.01.30.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Jul 2012 01:30:42 -0700 (PDT) From: Daniel Vetter To: Dave Airlie Date: Fri, 20 Jul 2012 10:30:45 +0200 Message-Id: <1342773045-779-1-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.7.10 X-Gm-Message-State: ALoCoQmGKOmIvQ4FEU7QgKTQWvgrCBAIZGX7QgE6GoxWSoAd6PqDLr2iZs6gk0orSJe3LagtXnbG Cc: Daniel Vetter , Intel Graphics Development , DRI Development Subject: [Intel-gfx] [PATCH] drm/i915: constify mode in crtc_mode_fixup X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Laurent Pinchart missed this when sending in is giant constify patch: commit e811f5ae19043b2ac2c28e147a4274038e655598 Author: Laurent Pinchart Date: Tue Jul 17 17:56:50 2012 +0200 drm: Make the .mode_fixup() operations mode argument a const pointer Signed-Off-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 1802c30..fdd7671 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -3575,7 +3575,7 @@ void intel_encoder_destroy(struct drm_encoder *encoder) } static bool intel_crtc_mode_fixup(struct drm_crtc *crtc, - struct drm_display_mode *mode, + const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) { struct drm_device *dev = crtc->dev;