Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1955029pxb; Sat, 2 Apr 2022 09:28:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQFJyrcfLRath0WnDvsT5jdZukrmUFcpURtAnunLOAoj67AxUIhcm9pojranN+Z18Xp+br X-Received: by 2002:a63:35c5:0:b0:398:833b:fadb with SMTP id c188-20020a6335c5000000b00398833bfadbmr18913116pga.285.1648916916248; Sat, 02 Apr 2022 09:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648916916; cv=none; d=google.com; s=arc-20160816; b=H0XcZuy0ezPQiYFt9dikwOFPW7+g6YYs/kmlqGzlXrXeFR5Btt5Z3pJv29NIpRxbah Yj8WPd70gaTB5JeQEoD9hlBMkhKir/2/qN3HgzhBGAduCOdlp4NFoLn22fOBcjUD7Ica 8S8zbT5vhOR9WN6fT+jum4/y4hiBXZjsvENHNrCAbgif6leJovCdrAjKRshdzRnQqopW EDQREVNMpVwWADzPn+bwndQsRRp3tRgjxRXH2CFxBw64hC+SHS9osyJ4ClHqt3mmIycs sa7weq1+IMNh7ng1ees6x7D+wNFsX69Mz6OFR7clhXYSKGEouzYtm4SoyyxCeyhWqLFx t3vg== 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 :message-id:date:subject:cc:to:from; bh=ILppQTaqXDliUdcWdY4yD5XvHjo/2SGGbGm9ApSy7cQ=; b=y9l23qbGrRizuucnRMQHYyFco3S0p76FIMStMCF05II/pD74agWGZiTUd8jXfuexHq cF8j9bzks0N6ukBUqsoueAzUWnifNV6J6dGNfxGll2Rn0nSL1cEuHFYO/Qr8HVczG3dr dNgNXcBuyNVy0clWZrVl7Hal/x3Xfn7cbiDly/3W+qxtlfvFjOYlUeEnRQHte1c8G7AN cVeNa12QZ372zgnZRDKxWzavIV9TD/Yc2aN4q0LoDXSPdjPdSh5eieIxJYju0mJC29BV jvq4ZpRv/7KdobxkZ/gIn293cVO21lB/ebQLL9R7tjCAP7pPQFdiNOfQFvVLqD04YNl0 OSnQ== 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 y3-20020a634b03000000b00382918eae51si5746611pga.290.2022.04.02.09.28.22; Sat, 02 Apr 2022 09:28:36 -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 S1353624AbiDBJyl (ORCPT + 99 others); Sat, 2 Apr 2022 05:54:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239868AbiDBJyk (ORCPT ); Sat, 2 Apr 2022 05:54:40 -0400 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F95A198ED0 for ; Sat, 2 Apr 2022 02:52:49 -0700 (PDT) Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4KVsm00KlLz9sSQ; Sat, 2 Apr 2022 11:52:48 +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 g02phkaJeBc3; Sat, 2 Apr 2022 11:52:47 +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 4KVslz6V7Lz9sSK; Sat, 2 Apr 2022 11:52:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id C3E398B76D; Sat, 2 Apr 2022 11:52:47 +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 t_CC7L77K-UG; Sat, 2 Apr 2022 11:52:47 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (unknown [192.168.202.136]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7B09C8B768; Sat, 2 Apr 2022 11:52:47 +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 2329qaFY683766 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 2 Apr 2022 11:52:36 +0200 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.17.1/Submit) id 2329qZDJ683765; Sat, 2 Apr 2022 11:52:35 +0200 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: Frederic Barrat , Andrew Donnellan , Arnd Bergmann , Greg Kroah-Hartman Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH] cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h Date: Sat, 2 Apr 2022 11:52:33 +0200 Message-Id: X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1648893152; l=4194; s=20211009; h=from:subject:message-id; bh=JxY+648cdfYGL5WtJJa465Q8CbmxwNjfK3pRYSd0Oz4=; b=C6PIkmpA1NSRSpcqV35OX6kl8KM54LwdtDbGac1ZsGECLPxcboQ/wjFTP0VkBI0Df0xD1F8x5+Ar 23DVGOGjD5tphQQvmFz3ljb5P7RE4sa7sqMxHSeOqnl/iIysqcjC 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 powerpc's asm/prom.h brings some headers that it doesn't need itself. In order to clean it up, first add missing headers in users of asm/prom.h Signed-off-by: Christophe Leroy --- drivers/misc/cxl/api.c | 1 + drivers/misc/cxl/cxl.h | 2 ++ drivers/misc/cxl/cxllib.c | 1 + drivers/misc/cxl/flash.c | 1 + drivers/misc/cxl/guest.c | 2 ++ drivers/misc/cxl/irq.c | 1 + drivers/misc/cxl/main.c | 1 + drivers/misc/cxl/native.c | 1 + drivers/misc/ocxl/afu_irq.c | 1 + drivers/misc/ocxl/link.c | 1 + 10 files changed, 12 insertions(+) diff --git a/drivers/misc/cxl/api.c b/drivers/misc/cxl/api.c index b493de962153..d85c56530863 100644 --- a/drivers/misc/cxl/api.c +++ b/drivers/misc/cxl/api.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "cxl.h" diff --git a/drivers/misc/cxl/cxl.h b/drivers/misc/cxl/cxl.h index 5dc0f6093f9d..7a6dd91987fd 100644 --- a/drivers/misc/cxl/cxl.h +++ b/drivers/misc/cxl/cxl.h @@ -25,6 +25,8 @@ extern uint cxl_verbose; +struct property; + #define CXL_TIMEOUT 5 /* diff --git a/drivers/misc/cxl/cxllib.c b/drivers/misc/cxl/cxllib.c index 53b919856426..e5fe0a171472 100644 --- a/drivers/misc/cxl/cxllib.c +++ b/drivers/misc/cxl/cxllib.c @@ -5,6 +5,7 @@ #include #include +#include #include #include diff --git a/drivers/misc/cxl/flash.c b/drivers/misc/cxl/flash.c index 5b93ff51d82a..eee9decc121e 100644 --- a/drivers/misc/cxl/flash.c +++ b/drivers/misc/cxl/flash.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include "cxl.h" diff --git a/drivers/misc/cxl/guest.c b/drivers/misc/cxl/guest.c index 9d485c9e3fff..3321c014913c 100644 --- a/drivers/misc/cxl/guest.c +++ b/drivers/misc/cxl/guest.c @@ -6,6 +6,8 @@ #include #include #include +#include +#include #include "cxl.h" #include "hcalls.h" diff --git a/drivers/misc/cxl/irq.c b/drivers/misc/cxl/irq.c index 4cb829d5d873..5f0e2dcebb34 100644 --- a/drivers/misc/cxl/irq.c +++ b/drivers/misc/cxl/irq.c @@ -4,6 +4,7 @@ */ #include +#include #include #include #include diff --git a/drivers/misc/cxl/main.c b/drivers/misc/cxl/main.c index 43b312d06e3e..c1fbf6f588f7 100644 --- a/drivers/misc/cxl/main.c +++ b/drivers/misc/cxl/main.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/drivers/misc/cxl/native.c b/drivers/misc/cxl/native.c index 1a7f22836041..50b0c44bb8d7 100644 --- a/drivers/misc/cxl/native.c +++ b/drivers/misc/cxl/native.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/misc/ocxl/afu_irq.c b/drivers/misc/ocxl/afu_irq.c index ecdcfae025b7..a06920b7e049 100644 --- a/drivers/misc/ocxl/afu_irq.c +++ b/drivers/misc/ocxl/afu_irq.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ // Copyright 2017 IBM Corp. #include +#include #include #include #include "ocxl_internal.h" diff --git a/drivers/misc/ocxl/link.c b/drivers/misc/ocxl/link.c index 9670d02c927f..4cf4c55a5f00 100644 --- a/drivers/misc/ocxl/link.c +++ b/drivers/misc/ocxl/link.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include -- 2.35.1