hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/xtensa/include/asm/pci.h
....@@ -11,8 +11,6 @@
1111 #ifndef _XTENSA_PCI_H
1212 #define _XTENSA_PCI_H
1313
14
-#ifdef __KERNEL__
15
-
1614 /* Can be used to override the logic in pci_scan_bus for skipping
1715 * already-configured bus numbers - to be used for buggy BIOSes
1816 * or architectures with incomplete PCI setup by the loader
....@@ -44,8 +42,6 @@
4442 #define HAVE_PCI_MMAP 1
4543 #define ARCH_GENERIC_PCI_MMAP_RESOURCE 1
4644 #define arch_can_pci_mmap_io() 1
47
-
48
-#endif /* __KERNEL__ */
4945
5046 /* Generic PCI */
5147 #include <asm-generic/pci.h>