Skip to content

Commit 4a4f151

Browse files
Naman Jainliuw
authored andcommitted
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]>
1 parent 5b187e9 commit 4a4f151

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/controller/pci-hyperv-intf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <linux/kernel.h>
1515
#include <linux/module.h>
1616
#include <linux/hyperv.h>
17+
#include <linux/export.h>
1718

1819
struct hyperv_pci_block_ops hvpci_block_ops;
1920
EXPORT_SYMBOL_GPL(hvpci_block_ops);

0 commit comments

Comments
 (0)