From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 508FF6D6EE for ; Thu, 21 Dec 2023 14:44:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="K9JaXGxr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703169892; x=1734705892; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=S2RiX7drH6eYvkjw/CmKNkPN7b+VfhWejHLXExiN+nY=; b=K9JaXGxrdI3dW/A+u7PPxIw1mQIwwMC187f4dIw7MyosA2VqLS2EmRzn Laq6ATLj5eWAL594wLTQCkELhOSDl9uG8/MgTle6U7Cz0H1o/JGvCk/Ms pRfXQIRMRGRVjfbaNUr4ASIdSUBYeK9v1jHnnyWhusJeDMuwRnlpCs0HN gpGOR4T6As/vb9PAx9YKlqPORH42DvI5jNZoHzZd8e5lW66Ehgw++yADX DjUEGOrCcX+UsWs8Xhp8RQyFPllE5Cr/wiL4joAem89Y340UHX93UAMuI ECBX3QIP+oet/f68loFeRMPBkVAHLNIFvxASsIc6E7RmN98hwjKzLebK6 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="386408457" X-IronPort-AV: E=Sophos;i="6.04,293,1695711600"; d="scan'208";a="386408457" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2023 06:44:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="847131730" X-IronPort-AV: E=Sophos;i="6.04,293,1695711600"; d="scan'208";a="847131730" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga004.fm.intel.com with ESMTP; 21 Dec 2023 06:44:49 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id AF117E6; Thu, 21 Dec 2023 16:44:48 +0200 (EET) From: Andy Shevchenko To: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Andy Shevchenko , linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH v1 1/1] pvpanic: Don't use "proxy" headers Date: Thu, 21 Dec 2023 16:44:47 +0200 Message-ID: <20231221144447.2762077-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko --- drivers/misc/pvpanic/pvpanic-mmio.c | 7 +++---- drivers/misc/pvpanic/pvpanic-pci.c | 5 +---- drivers/misc/pvpanic/pvpanic.c | 12 ++++++++---- drivers/misc/pvpanic/pvpanic.h | 5 +++++ 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/drivers/misc/pvpanic/pvpanic-mmio.c b/drivers/misc/pvpanic/pvpanic-mmio.c index 9715798acce3..f3f2113a54a7 100644 --- a/drivers/misc/pvpanic/pvpanic-mmio.c +++ b/drivers/misc/pvpanic/pvpanic-mmio.c @@ -7,16 +7,15 @@ * Copyright (C) 2021 Oracle. */ +#include +#include #include -#include +#include #include #include #include #include #include -#include - -#include #include "pvpanic.h" diff --git a/drivers/misc/pvpanic/pvpanic-pci.c b/drivers/misc/pvpanic/pvpanic-pci.c index c5fb6298cb8d..9ad20e82785b 100644 --- a/drivers/misc/pvpanic/pvpanic-pci.c +++ b/drivers/misc/pvpanic/pvpanic-pci.c @@ -5,13 +5,10 @@ * Copyright (C) 2021 Oracle. */ -#include +#include #include #include #include -#include - -#include #include "pvpanic.h" diff --git a/drivers/misc/pvpanic/pvpanic.c b/drivers/misc/pvpanic/pvpanic.c index 305b367e0ce3..df3457ce1cb1 100644 --- a/drivers/misc/pvpanic/pvpanic.c +++ b/drivers/misc/pvpanic/pvpanic.c @@ -8,16 +8,20 @@ */ #include +#include +#include #include -#include #include +#include +#include +#include #include #include -#include #include +#include +#include +#include #include -#include -#include #include diff --git a/drivers/misc/pvpanic/pvpanic.h b/drivers/misc/pvpanic/pvpanic.h index 46ffb10438ad..a42fa760eed5 100644 --- a/drivers/misc/pvpanic/pvpanic.h +++ b/drivers/misc/pvpanic/pvpanic.h @@ -8,6 +8,11 @@ #ifndef PVPANIC_H_ #define PVPANIC_H_ +#include + +struct attribute_group; +struct device; + int devm_pvpanic_probe(struct device *dev, void __iomem *base); extern const struct attribute_group *pvpanic_dev_groups[]; -- 2.43.0.rc1.1.gbec44491f096