Просмотр исходного кода

ARC: Remove redundant PCI_IOBASE declaration

ARC's asm/io.h includes the asm-generic/io.h which already defines the
PCI_IOBASE variable in exactly the same way, so it can be dropped from
the architecture specific header.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding 11 лет назад
Родитель
Сommit
bfb111ec25
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      arch/arc/include/asm/io.h

+ 0 - 2
arch/arc/include/asm/io.h

@@ -13,8 +13,6 @@
 #include <asm/byteorder.h>
 #include <asm/page.h>
 
-#define PCI_IOBASE ((void __iomem *)0)
-
 extern void __iomem *ioremap(unsigned long physaddr, unsigned long size);
 extern void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size,
 				  unsigned long flags);