From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C8DCFC54EBE for ; Mon, 16 Jan 2023 13:25:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J/wMy2c3TJw01ypEvGvJjShp+Nx8S8GapWDn3rJ+z/A=; b=I/q3Hce12YZdiq uxJXJTlurs+KBgKokh88cj/34q6qY01HGmwBqyNUkIzWf9NzKjsKwV1/aAB4E/MRxNHEvkVQ4HAPe cMBz5NFebRnkq8p9RxwW5R8r/W5rTikVV8/aG/Nf/IZ1qoglYtPNuiEnfw9KRaxbvXjGEMCFJ2DYI 4aUOthkMAnrpnqDS96jlKmnlod81MKcbqFVr1QptvQim20v41YqUL6grppFF13vr6Uw8onqrHtWsg Pu7xvmJIO7+E0M+FL/sr3aecbw5lWqvf5R3SRoIe9sYDZft7rq9qpkxE+DADt2raeB5kOzvnDWJp1 bS+ZvByIN4NwNFtKziog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHPTY-00AOj7-GD; Mon, 16 Jan 2023 13:24:37 +0000 Received: from smtp-out2.suse.de ([195.135.220.29]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHPI5-00AJuo-QK; Mon, 16 Jan 2023 13:12:50 +0000 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3A9426777E; Mon, 16 Jan 2023 13:12:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1673874762; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kJ/7xrLP5uwWcMX3PN81GVaMZX3B0DkAS43Dtz5uzYw=; b=aTzNlmo9z+ymdLwIq1sSKww7fRmnCdFiJLYN93Wa/oQ/hlf5wYjffFWZoLQA8s5tQP65bJ U/Zyu8lBU/GNt58tc+3pA7ZCYAmYA5XnFwvW/+8mUxTl7Yg65YnfoWRKSh7OhadMyOMAR4 aVhBd7PSM7aNG659m65d4NxYv3CHWxM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1673874762; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kJ/7xrLP5uwWcMX3PN81GVaMZX3B0DkAS43Dtz5uzYw=; b=7v5IVaymjuUO685jQmpDV8F1Lo7g091cuLdYqg42SxXejuSw0q8mf7OVFzbhqTZma+f9iq 4zS4OQqm27FoMFBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EDBF0138FA; Mon, 16 Jan 2023 13:12:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +NIFOUlNxWNrNQAAMHmgww (envelope-from ); Mon, 16 Jan 2023 13:12:41 +0000 From: Thomas Zimmermann To: sam@ravnborg.org, daniel@ffwll.ch, airlied@gmail.com Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, nouveau@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-sunxi@lists.linux.dev, Thomas Zimmermann Subject: [PATCH 16/22] drm/shmobile: Remove unnecessary include statements for drm_crtc_helper.h Date: Mon, 16 Jan 2023 14:12:29 +0100 Message-Id: <20230116131235.18917-17-tzimmermann@suse.de> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230116131235.18917-1-tzimmermann@suse.de> References: <20230116131235.18917-1-tzimmermann@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230116_051246_069752_B55760F1 X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Several source files include drm_crtc_helper.h without needing it or only to get its transitive include statements; leading to unnecessary compile-time dependencies. Directly include required headers and drop drm_crtc_helper.h where possible. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 2 ++ drivers/gpu/drm/shmobile/shmob_drm_drv.c | 1 - drivers/gpu/drm/shmobile/shmob_drm_plane.c | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c index 4624c0aff51f..d354ab3077ce 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c @@ -16,6 +16,8 @@ #include #include #include +#include +#include #include #include #include diff --git a/drivers/gpu/drm/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/shmobile/shmob_drm_drv.c index 337040fa6438..faacfee24763 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_drv.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_drv.c @@ -15,7 +15,6 @@ #include #include -#include #include #include #include diff --git a/drivers/gpu/drm/shmobile/shmob_drm_plane.c b/drivers/gpu/drm/shmobile/shmob_drm_plane.c index 6c5f0cbe7d95..604ae23825da 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_plane.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_plane.c @@ -8,7 +8,6 @@ */ #include -#include #include #include #include -- 2.39.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel