From patchwork Fri Jan 18 17:21:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 10772445 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0EC2D139A for ; Sun, 20 Jan 2019 17:04:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF43028B08 for ; Sun, 20 Jan 2019 17:04:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1F9728B3E; Sun, 20 Jan 2019 17:04:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CA9C528BA1 for ; Sun, 20 Jan 2019 17:03:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A2726E454; Sun, 20 Jan 2019 17:03:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6F1A76E524 for ; Fri, 18 Jan 2019 17:21:41 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id c14so16035944wrr.0 for ; Fri, 18 Jan 2019 09:21:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PyVbBL0mW/TEEmZTs3dNnnVQ8377kJ8dXSHGfjBfTsw=; b=BAJUjewh/tlh1e9Wctr0j+/ieQfFreq3u74QEvZeV2LKWZfzheatbDID1PWDMKmJ2y aB5DSBrlaDZ6E81O1J8ol//I0YIatJ/sbDrnIGGhlyJuJQ7z9uNIiLY+dW92QcbpKDvS BQb1bhqetTObZabSD7mQCyMMaKNPl+sWd6JuM556OVzoqtcU9eytdO3tJLgQKJuslHMG y8CEONF/or3k0TUX6l4vUUmrD8rHAFm07cuvldrWFJPPdjK0cfd/S8DkssnWwLp6HIX0 up0YMuYzQtra1/wrT1/39mtVS2IZV5nzA1/D2+OnRJ320QzN77tSANb6cGCqSl18dTTs sn1A== X-Gm-Message-State: AJcUukcdxMTxAYNHW0wgBgTcd02ba6hMyN/CgMZD/JttiQ93x7s/W+70 1u0pMRflPHSz5zD0F4embiM= X-Google-Smtp-Source: ALg8bN5/hHDTMAhOglw/OFlDM/U8DvA9/GZLtA+kCKmkaN0XVS4YvvZyho26EfzpmjA+a4UtHmBy5g== X-Received: by 2002:a5d:558a:: with SMTP id i10mr16849438wrv.287.1547832099666; Fri, 18 Jan 2019 09:21:39 -0800 (PST) Received: from localhost.localdomain ([2a01:4f8:10b:24a5::2]) by smtp.gmail.com with ESMTPSA id c13sm94318861wrb.38.2019.01.18.09.21.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 09:21:38 -0800 (PST) From: Nathan Chancellor To: Laurent Pinchart , Kieran Bingham Subject: [PATCH] drm: rcar-du: Fix build error Date: Fri, 18 Jan 2019 10:21:25 -0700 Message-Id: <20190118172125.32504-1-natechancellor@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mailman-Approved-At: Sun, 20 Jan 2019 17:03:52 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Nathan Chancellor Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP On arm{32,64} allyesconfig builds: drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c:40:1: error: incomplete result type 'enum drm_mode_status' in function definition drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c:47:10: error: incomplete definition of type 'struct drm_display_mode' drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c:48:10: error: use of undeclared identifier 'MODE_CLOCK_HIGH' drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c:50:9: error: use of undeclared identifier 'MODE_OK' After the removal of drmP.h from this file and its removal from bridge/dw_hdmi.h, these types are not defined anymore, as they were implicitly coming into that file through drm_crtc.h. Fixes: 428747ae5cca ("drm: remove include of drmP.h from bridge/dw_hdmi.h") Fixes: 9a47db8e7a9d ("drm: rcar-du: Remove inclusion of drmP.h") Signed-off-by: Nathan Chancellor --- drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c b/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c index 0fb25113f19c..452461dc96f2 100644 --- a/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c +++ b/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c @@ -12,6 +12,7 @@ #include #include +#include #define RCAR_HDMI_PHY_OPMODE_PLLCFG 0x06 /* Mode of operation and PLL dividers */ #define RCAR_HDMI_PHY_PLLCURRGMPCTRL 0x10 /* PLL current and Gmp (conductance) */