arch/score/include/asm/pci.h: Use generic 'pci.h' instead of the original one
PATCH 1/1 arch/score/include/asm/pci.h: Use generic 'pci.h' instead of the original one
Original 'pci.h' is empty, and some modules in allmodconfig may need contents which can be found in generic 'pci.h', so use generic one instead of original.
The related error (allmodconfig under score):
CC [M] drivers/scsi/scsi_lib.o
drivers/scsi/scsi_lib.c: In function 'scsi_calculate_bounce_limit':
drivers/scsi/scsi_lib.c:1615:7: error: 'PCI_DMA_BUS_IS_PHYS' undeclared (first use in this function)
if (!PCI_DMA_BUS_IS_PHYS)
^ drivers/scsi/scsi_lib.c:1615:7: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [drivers/scsi/scsi_lib.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
Signed-off-by Chen Gang <[email protected]>
--- arch/score/include/asm/Kbuild | 1 + arch/score/include/asm/pci.h | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 arch/score/include/asm/pci.h
arch/score/include/asm/Kbuild +1 -0
@@ -7,6 +7,7 @@ generic-y += clkdev.h generic-y += cputime.h generic-y += hash.h generic-y += mcs_spinlock.h +generic-y += pci.h generic-y += preempt.h generic-y += scatterlist.h generic-y += trace_clock.h
arch/score/include/asm/pci.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef _ASM_SCORE_PCI_H -#define _ASM_SCORE_PCI_H - -#endif /* _ASM_SCORE_PCI_H */
Signature · 1 line
1.9.2.459.g68773ac