From patchwork Sun Jun 30 06:19:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11024217 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 5BAF713BD for ; Sun, 30 Jun 2019 06:20:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4174F287E0 for ; Sun, 30 Jun 2019 06:20:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 357DA287E6; Sun, 30 Jun 2019 06:20:16 +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 D2868287B7 for ; Sun, 30 Jun 2019 06:20:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D0ABB6E9D1; Sun, 30 Jun 2019 06:19:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id DDB476E9CF for ; Sun, 30 Jun 2019 06:19:44 +0000 (UTC) Received: by mail-lj1-x244.google.com with SMTP id v24so9786829ljg.13 for ; Sat, 29 Jun 2019 23:19:44 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=GKGCps8/24VXSJgwOB65kUByXU0vMvLaHRtnh6P82PY=; b=C3t1m2bD0ZUBwcFUHyYg5Cq+5MZ7YAsUOxJ3IUU7QmBJwzRifeDMX+qcWm0jhqHvdp SNJ77Ou9LhekuxhUsYOPaWdALEwAlAh2uhTNV2I2HD4vixQnxvh0sa6xyrVtTB1ENSbI wUo8b0pV2LPkEVqehbTl4lHijJuYoIPV+V16do6riU9Yw7wdBl73R40wG5DfDC6iCHqF CdGlvtg/8giV052Ps9yTTkw26EwyyvZvbz5XfoeKsO1An7bNOM2Bp2fZoY6PDAI4ULQ5 XSJGqYpWKdETnNZc31z6aWnWuwTmpzz/bIouROWiU1YZUgA+LCTeYUltx9DUe4H2iHJh /Oxg== X-Gm-Message-State: APjAAAW1Wz41CqBeiZ5TV6Jg9DAlHP6/O5GllqQwsaCYq3qxJKdg9ZRP XQJ0il/pUHdkpv6282EylcO42UVQdOQWiQ== X-Google-Smtp-Source: APXvYqyrDZb/XY+l5NnFRLrBlBAGkeLeYo1widxh+Aa/Wh5nBVFYWnow/vf4gdWo1qDgXdFxb9Ku1g== X-Received: by 2002:a2e:12c8:: with SMTP id 69mr10305377ljs.189.1561875582147; Sat, 29 Jun 2019 23:19:42 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id o74sm1794024lff.46.2019.06.29.23.19.41 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 29 Jun 2019 23:19:41 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Subject: [PATCH v1 14/33] drm/atmel_hlcdc: drop use of drmP.h Date: Sun, 30 Jun 2019 08:19:03 +0200 Message-Id: <20190630061922.7254-15-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190630061922.7254-1-sam@ravnborg.org> References: <20190630061922.7254-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GKGCps8/24VXSJgwOB65kUByXU0vMvLaHRtnh6P82PY=; b=edX3jKUDv3HYbN+1NL8vUfxux1xPSXWr66MAkZ1XdCB50CkruRKTj1adfa5v6xhhr+ 02yswTwOozbHauMcmS8Dp5n4VBCTpq7qZq/hliQp2TlZlx7Azn20hNFrQARkuRQFc2Y5 134AyxvsQ40qb0OoLjA2/PYQiae1iNsy9eNFGdWo6y4rMzCRsM1GyHJZziQc9NrCvwKv U787rqFC/deV8diybtiwDumKOuFY4er1W5qmjb1NC6OsdY2lpUauu0Zx3esVZWVF8slk iRQxgarARlzSRYuftFNhEpnoTgEgSTRDGv9bIQBJRipxtPJRF8GHaBCsc0RWhp4jI47k IqZw== 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: Alexandre Belloni , Boris Brezillon , David Airlie , Nicolas Ferre , Ludovic Desroches , Sam Ravnborg , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Drop use of the deprecated header drmP.h. Make header file self-contained, with only the required set of include files. And fixed fallout in remaining files. Divide include files in blocks and sort them within each block. Signed-off-by: Sam Ravnborg Cc: Boris Brezillon Cc: David Airlie Cc: Daniel Vetter Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Cc: linux-arm-kernel@lists.infradead.org Reviewed-by: Boris Brezillon --- The list of cc: was too large to add all recipients to the cover letter. Please find cover letter here: https://lists.freedesktop.org/archives/dri-devel/2019-June/thread.html Search for "drm: drop use of drmp.h in drm-misc" Sam .../gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 12 +++++++---- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 12 +++++++++++ drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h | 20 +++---------------- .../gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 3 ++- .../gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 10 ++++++++++ 5 files changed, 35 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c index 81c50772df05..edcd0042bc9c 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c @@ -19,15 +19,19 @@ */ #include +#include +#include #include #include -#include +#include