staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / arch / arm64 / include / asm / pci.h
blob9e690686e8aad3fac10fd838dc75d8b7e77a8cde
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_PCI_H
3 #define __ASM_PCI_H
4 #ifdef __KERNEL__
6 #include <linux/types.h>
7 #include <linux/slab.h>
8 #include <linux/dma-mapping.h>
10 #include <asm/io.h>
12 #define PCIBIOS_MIN_IO 0x1000
13 #define PCIBIOS_MIN_MEM 0
16 * Set to 1 if the kernel should re-assign all PCI bus numbers
18 #define pcibios_assign_all_busses() \
19 (pci_has_flag(PCI_REASSIGN_ALL_BUS))
21 #define ARCH_GENERIC_PCI_MMAP_RESOURCE 1
23 extern int isa_dma_bridge_buggy;
25 #ifdef CONFIG_PCI
26 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
28 /* no legacy IRQ on arm64 */
29 return -ENODEV;
32 static inline int pci_proc_domain(struct pci_bus *bus)
34 return 1;
36 #endif /* CONFIG_PCI */
38 #endif /* __KERNEL__ */
39 #endif /* __ASM_PCI_H */