summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/pci.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-05-06 23:07:26 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2019-05-07 03:48:54 +0300
commit8e65986dcae8c49501c1920064dc192e704248bb (patch)
tree188145ceb49a9025647a4a354d600c12a8f02a0c /arch/xtensa/include/asm/pci.h
parentfd58015ca9fed04fd52009e2dbcb7aef6940f734 (diff)
downloadlinux-8e65986dcae8c49501c1920064dc192e704248bb.tar.xz
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.h')
-rw-r--r--arch/xtensa/include/asm/pci.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/xtensa/include/asm/pci.h b/arch/xtensa/include/asm/pci.h
index 883024054b05..8e2b48a268db 100644
--- a/arch/xtensa/include/asm/pci.h
+++ b/arch/xtensa/include/asm/pci.h
@@ -11,8 +11,6 @@
#ifndef _XTENSA_PCI_H
#define _XTENSA_PCI_H
-#ifdef __KERNEL__
-
/* Can be used to override the logic in pci_scan_bus for skipping
* already-configured bus numbers - to be used for buggy BIOSes
* or architectures with incomplete PCI setup by the loader
@@ -45,8 +43,6 @@
#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1
#define arch_can_pci_mmap_io() 1
-#endif /* __KERNEL__ */
-
/* Generic PCI */
#include <asm-generic/pci.h>