asm-generic: Add new pci.h and use it
The asm/pci.h used for many newer architectures share similar definitions. Move the common parts to asm-generic/pci.h to allow for sharing code. Suggested-by:Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/lkml/CAK8P3a0JmPeczfmMBE__vn=Jbvf=nkbpVaZCycyv40pZNCJJXQ@mail.gmail.com/ Link: https://lore.kernel.org/r/20220722214944.831438-5-shorne@gmail.com Signed-off-by:
Stafford Horne <shorne@gmail.com> Signed-off-by:
Bjorn Helgaas <bhelgaas@google.com> Reviewed-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Pierre Morel <pmorel@linux.ibm.com> Acked-by:
Geert Uytterhoeven <geert@linux-m68k.org>
Showing
- arch/arm64/include/asm/pci.h 2 additions, 8 deletionsarch/arm64/include/asm/pci.h
- arch/csky/include/asm/pci.h 2 additions, 15 deletionsarch/csky/include/asm/pci.h
- arch/riscv/include/asm/pci.h 4 additions, 19 deletionsarch/riscv/include/asm/pci.h
- arch/um/include/asm/pci.h 2 additions, 12 deletionsarch/um/include/asm/pci.h
- include/asm-generic/pci.h 30 additions, 0 deletionsinclude/asm-generic/pci.h
include/asm-generic/pci.h
0 → 100644
Please register or sign in to comment