From: Naman Jain Date: Wed, 11 Jun 2025 10:04:58 +0000 (+0530) Subject: PCI: hv: Fix warnings for missing export.h header inclusion X-Git-Tag: v6.16-rc7~6^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a4f15170b63bd3b8a6534b39330e981704c7369;p=thirdparty%2Fkernel%2Flinux.git PCI: hv: Fix warnings for missing export.h header inclusion Fix below warning in Hyper-V PCI driver that comes when kernel is compiled with W=1 option. Include export.h in driver files to fix it. * warning: EXPORT_SYMBOL() is used, but #include is missing Signed-off-by: Naman Jain Reviewed-by: Saurabh Sengar Link: https://lore.kernel.org/r/20250611100459.92900-6-namjain@linux.microsoft.com Signed-off-by: Wei Liu Message-ID: <20250611100459.92900-6-namjain@linux.microsoft.com> --- diff --git a/drivers/pci/controller/pci-hyperv-intf.c b/drivers/pci/controller/pci-hyperv-intf.c index cc96be4503606..28b3e93d31c0f 100644 --- a/drivers/pci/controller/pci-hyperv-intf.c +++ b/drivers/pci/controller/pci-hyperv-intf.c @@ -14,6 +14,7 @@ #include #include #include +#include struct hyperv_pci_block_ops hvpci_block_ops; EXPORT_SYMBOL_GPL(hvpci_block_ops);