PCI: hv: Fix warnings for missing export.h header inclusion
authorNaman Jain <namjain@linux.microsoft.com>
Wed, 11 Jun 2025 10:04:58 +0000 (15:34 +0530)
committerWei Liu <wei.liu@kernel.org>
Wed, 9 Jul 2025 23:46:06 +0000 (23:46 +0000)
commit4a4f15170b63bd3b8a6534b39330e981704c7369
treec5fcae0662e2c5c8c411f8aa79fe7bec5ab65ffd
parent5b187e9a31547d63a1a4078b79f7fb3fdbca92cd
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 <linux/export.h>
is missing

Signed-off-by: Naman Jain <namjain@linux.microsoft.com>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250611100459.92900-6-namjain@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250611100459.92900-6-namjain@linux.microsoft.com>
drivers/pci/controller/pci-hyperv-intf.c