Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp199924imw; Fri, 8 Jul 2022 00:58:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sXUrZlQRSo/s3Bc/JWwTB/F+rlkIcEEiYRjHW4+I2c3wPDWN3TPC0qzMMQ5NlX713jHeGi X-Received: by 2002:a17:90b:2407:b0:1ec:dd93:511a with SMTP id nr7-20020a17090b240700b001ecdd93511amr10347762pjb.212.1657267134823; Fri, 08 Jul 2022 00:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657267134; cv=none; d=google.com; s=arc-20160816; b=Jzhf/IvyB+gV/OAyPzZLiXCRKOvgts5Lk5En2TmMCxKKkYLG2mch8XDMXK+RLnY6Je GeyHP1I364LxwimIlEW/1/oFbBx0QP7IbZcSrFMrrsLjx5N8jkqTvBGBnGbaMxNF7sPT YFTOF1xj48yRN7G1My+mR1g/ZISNwh3UgMxbsM6P1Mxm+Ypl/EJ93oh4K5dnN9YNzMDM l9KlRbP5uo8pYj8ZEwguhJhPwdHRUuwhMHTEh5IDcxOT2YnWR7JU9L+oe6YXLkIwrAXA 50KrzJGsyr/2xjTxUYwGuqjCbJf3OtlYkO4L3ytHp0kZ8JrmXw0ywy/370qO90Tl3woZ Ua2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=8JTW/SMwzsmCQ/4kfKgCSsqZoj/fi0E0p/RfTjCXbMk=; b=Xog7JQm9iXCT3PJVeM8Lfac8Bu1RJZXK9FYXwioDgqXlqkxn37MHlh46kF8Ox8E8Q6 TagLDWubt4hiJ2dEixYi9yPIuFlc5HnoACUgo7pRHyo1fuB5WnExmc9xFzfKQ3k1f2cU ln8Nt3J/QmzzXlmIVIVtfOVmhVslXAWCE4D51pIkch78dPZ5c1ORCRPEigYBDUWwyuUc PXUwWPnv8Wl5Y18G5D6tpIcfnr2QpMLjAraaNp9tbKNDRPJWw99PiOxV7fihO6S8P3dh RgAr4Fg7BsPU54/0QAA1if8KUbYVgXUhmgwHySx3qJXBZkOT2lZ5QHKtY/E01LnfFT5E fiUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12-20020a056a0014cc00b0052589c13629si57055650pfu.249.2022.07.08.00.58.39; Fri, 08 Jul 2022 00:58:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237409AbiGHHL4 (ORCPT + 99 others); Fri, 8 Jul 2022 03:11:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237369AbiGHHLv (ORCPT ); Fri, 8 Jul 2022 03:11:51 -0400 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FE4776975; Fri, 8 Jul 2022 00:11:50 -0700 (PDT) Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4LfPbN0nG9z9tKr; Fri, 8 Jul 2022 09:11:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GUC-TTr3AKPS; Fri, 8 Jul 2022 09:11:44 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4LfPbK6l2yz9tFj; Fri, 8 Jul 2022 09:11:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id CE6C88B76C; Fri, 8 Jul 2022 09:11:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id NctDR-Rk0r9G; Fri, 8 Jul 2022 09:11:41 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (unknown [192.168.233.202]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 6FB338B763; Fri, 8 Jul 2022 09:11:41 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (localhost [127.0.0.1]) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.16.1) with ESMTPS id 2687BYYl603410 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 8 Jul 2022 09:11:34 +0200 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.17.1/Submit) id 2687BXTU603406; Fri, 8 Jul 2022 09:11:33 +0200 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: Michael Ellerman , Nicholas Piggin , deller@gmx.de, manoj@linux.ibm.com, mrochs@linux.ibm.com, ukrishn@linux.ibm.com, jejb@linux.ibm.com, martin.petersen@oracle.com, tzimmermann@suse.de Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-scsi@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH v3 4/4] powerpc: Finally remove unnecessary headers from asm/prom.h Date: Fri, 8 Jul 2022 09:11:08 +0200 Message-Id: <4be954abef978b34cff9193fc566ffefdd3517bb.1657264228.git.christophe.leroy@csgroup.eu> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1657264266; l=1143; s=20211009; h=from:subject:message-id; bh=rhMeWgMRVJCcnZ4LkUB/MevA+zWJ66UrLEuQIoq1Yg0=; b=aSzeb+chFstwLU0nCOuwBtbA5U5xgYndUebgzgAFOP3kvtFTlKpIphdt6XSL2LaRlBzvqMzXeceC 3WcuvQhNCXW3RZk7r1HJGuNvWAJdmtN/35jcrr7gzAg+rGVfsK9j X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove all headers included from asm/prom.h which are not used by asm/prom.h itself. Declare struct device_node and struct property locally to avoid including of.h Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/prom.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h index 6f109b5cb84e..2e82820fbd64 100644 --- a/arch/powerpc/include/asm/prom.h +++ b/arch/powerpc/include/asm/prom.h @@ -12,16 +12,10 @@ * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp. */ #include -#include -#include #include -/* These includes should be removed once implicit includes are cleaned up. */ -#include -#include -#include -#include -#include +struct device_node; +struct property; #define OF_DT_BEGIN_NODE 0x1 /* Start of node, full name */ #define OF_DT_END_NODE 0x2 /* End node */ -- 2.36.1