summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/pci-bridge.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-05-06 13:07:26 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2019-05-06 17:48:54 -0700
commit8e65986dcae8c49501c1920064dc192e704248bb (patch)
tree188145ceb49a9025647a4a354d600c12a8f02a0c /arch/xtensa/include/asm/pci-bridge.h
parentfd58015ca9fed04fd52009e2dbcb7aef6940f734 (diff)
xtensa: drop ifdef __KERNEL__ from kernel-only headers
These headers are not exported to userspace, so they're never used without __KERNEL__ defined. Drop these ifdef statements. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/pci-bridge.h')
-rw-r--r--arch/xtensa/include/asm/pci-bridge.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/xtensa/include/asm/pci-bridge.h b/arch/xtensa/include/asm/pci-bridge.h
index 0b68c76ec1e6..405526912d9a 100644
--- a/arch/xtensa/include/asm/pci-bridge.h
+++ b/arch/xtensa/include/asm/pci-bridge.h
@@ -11,8 +11,6 @@
#ifndef _XTENSA_PCI_BRIDGE_H
#define _XTENSA_PCI_BRIDGE_H
-#ifdef __KERNEL__
-
struct device_node;
struct pci_controller;
@@ -84,5 +82,4 @@ int early_write_config_byte(struct pci_controller*, int, int, int, u8);
int early_write_config_word(struct pci_controller*, int, int, int, u16);
int early_write_config_dword(struct pci_controller*, int, int, int, u32);
-#endif /* __KERNEL__ */
#endif /* _XTENSA_PCI_BRIDGE_H */