diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-05-16 15:37:02 +0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-06-04 08:59:57 +0400 |
commit | 193bca5934db1ca1d0ffcedf551030ff5556a07c (patch) | |
tree | e5ae4908176bd9b26f1b73407892d9b64be12410 /arch/microblaze/include/asm/io.h | |
parent | 28d1880c6872af3d1c17bc46da5795b9eba04bee (diff) | |
download | linux-193bca5934db1ca1d0ffcedf551030ff5556a07c.tar.xz |
microblaze: Cleanup PCI_DRAM_OFFSET handling
PCI_DRAM_OFFSET/pci_dram_offset is 0 all the time and there
is no difference for PCI and !PCI cases.
Also remove the whole code which setup archdata.dma_data
which is completely unused.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/include/asm/io.h')
-rw-r--r-- | arch/microblaze/include/asm/io.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h index 1e4c3329f62e..433751b2a003 100644 --- a/arch/microblaze/include/asm/io.h +++ b/arch/microblaze/include/asm/io.h @@ -19,17 +19,14 @@ #ifndef CONFIG_PCI #define _IO_BASE 0 #define _ISA_MEM_BASE 0 -#define PCI_DRAM_OFFSET 0 #else #define _IO_BASE isa_io_base #define _ISA_MEM_BASE isa_mem_base -#define PCI_DRAM_OFFSET pci_dram_offset struct pci_dev; extern void pci_iounmap(struct pci_dev *dev, void __iomem *); #define pci_iounmap pci_iounmap extern unsigned long isa_io_base; -extern unsigned long pci_dram_offset; extern resource_size_t isa_mem_base; #endif |