From patchwork Sat Jan 19 08:40:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10771955 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 C92BA1390 for ; Sat, 19 Jan 2019 08:40:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBB042F841 for ; Sat, 19 Jan 2019 08:40:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFA912F7F2; Sat, 19 Jan 2019 08:40:52 +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,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 35CE62F841 for ; Sat, 19 Jan 2019 08:40:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D5D1D6E25C; Sat, 19 Jan 2019 08:40:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4EF376E02B for ; Sat, 19 Jan 2019 08:40:45 +0000 (UTC) Received: by mail-lf1-x142.google.com with SMTP id v5so12170076lfe.7 for ; Sat, 19 Jan 2019 00:40:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=/QN6lWunl3v34UryC8Jt0OOMGcLPbeFY0PRXCON6TUk=; b=BpZ+0VHqXr5bTfoiF6wwFg33s5KGf3mHf86WqoJQYz6GR42mBm0T06Rfv9cpBOLU9G B9h7kyCHmyzr/AAal3Rk/crYMUSyGK1iLHaXgPse8LiwH8Grgzg/I2sQsvtUaj3ehd0i JiCksSWJkDahhW1lHneyuk73HHl1LfwyG2+3q1VdeC0ql6+yBCx4UK3dBxE1MTgDFwsC H5SS2UNRIoLOI3s4Ux+9ox10WsbHCG1x2l5VtrCK2Uw2685ruhbbtw73DEmr2XMgb5SE xK6DaKAjcjWWYTITmgfJv64DGOARWOmPL7VpVwXeG3hk6KlvJzn08lvNN4AXD6IbTVxm Y58w== X-Gm-Message-State: AJcUukcp+NwdhY7Y4qJ37cQzB1kTQCV1QXfbMj195aOQpSdBTSsdyDUM Ca0gujkXo1FWHg4xHZTiCPkh1zkXEJU= X-Google-Smtp-Source: ALg8bN5eDbtgyem+6ppWs3revLqLSHgY01ImK604wU4I61/pcO3UjWOGrz0Q35Q2gTq8iX4syLCrQg== X-Received: by 2002:a19:ec16:: with SMTP id b22mr15153380lfa.65.1547887243408; Sat, 19 Jan 2019 00:40:43 -0800 (PST) Received: from jupiter.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id p23sm1187109lfh.47.2019.01.19.00.40.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Jan 2019 00:40:42 -0800 (PST) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Subject: [PATCH v5 4/6] drm/bridge: cdns: prepare for drmP.h removal from drm_modeset_helper.h Date: Sat, 19 Jan 2019 09:40:12 +0100 Message-Id: <20190119084014.5355-5-sam@ravnborg.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190119084014.5355-1-sam@ravnborg.org> References: <20190119084014.5355-1-sam@ravnborg.org> 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: Sean Paul , Xinliang Liu , Maxime Ripard , David Airlie , Chen Feng , Alexey Brodkin , Philippe Cornu , linux-kernel@vger.kernel.org, Vincent Abriou , Xinwei Kong , Kieran Bingham , Laurent Pinchart , Rongrong Zou , Sam Ravnborg , Yannick Fertre MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The use of drmP.h is discouraged and removal of it from drm_modeset_helper.h caused cdns to fail to build. This patch introduce the necessary fixes to prepare for the drmP.h removal from drm_modeset_helper.h. Build tested on arm x86 and arm allmodconfig. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Laurent Pinchart Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/bridge/cdns-dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/bridge/cdns-dsi.c b/drivers/gpu/drm/bridge/cdns-dsi.c index ce9496d13986..4b73d0969468 100644 --- a/drivers/gpu/drm/bridge/cdns-dsi.c +++ b/drivers/gpu/drm/bridge/cdns-dsi.c @@ -8,11 +8,13 @@ #include #include #include +#include #include #include #include