diff options
| author | Naman Jain <[email protected]> | 2025-06-11 10:04:58 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2025-07-09 23:46:06 +0000 |
| commit | 4a4f15170b63bd3b8a6534b39330e981704c7369 (patch) | |
| tree | c5fcae0662e2c5c8c411f8aa79fe7bec5ab65ffd /drivers/pci/controller/pci-hyperv-intf.c | |
| parent | clocksource: hyper-v: Fix warnings for missing export.h header inclusion (diff) | |
| download | kernel-4a4f15170b63bd3b8a6534b39330e981704c7369.tar.gz kernel-4a4f15170b63bd3b8a6534b39330e981704c7369.zip | |
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 <[email protected]>
Reviewed-by: Saurabh Sengar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-hyperv-intf.c')
| -rw-r--r-- | drivers/pci/controller/pci-hyperv-intf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/pci-hyperv-intf.c b/drivers/pci/controller/pci-hyperv-intf.c index cc96be450360..28b3e93d31c0 100644 --- a/drivers/pci/controller/pci-hyperv-intf.c +++ b/drivers/pci/controller/pci-hyperv-intf.c @@ -14,6 +14,7 @@ #include <linux/kernel.h> #include <linux/module.h> #include <linux/hyperv.h> +#include <linux/export.h> struct hyperv_pci_block_ops hvpci_block_ops; EXPORT_SYMBOL_GPL(hvpci_block_ops); |
