diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:14:59 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:14:59 -0500 |
commit | 07c019bcccbfb7ca148494444442a3c48880729a (patch) | |
tree | d8662075e745e644b78e8cab5c31c9d54fd2c94f /arch/mips/pci/pci-bcm1480.c | |
parent | e2defae5a9b4f8d1acb058be212ef89c8763dc5b (diff) |
[MIPS] BCM1480: Use constants instead of magic numbers in PCI code.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/pci-bcm1480.c')
-rw-r--r-- | arch/mips/pci/pci-bcm1480.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/pci/pci-bcm1480.c b/arch/mips/pci/pci-bcm1480.c index 47f316c86ab1..30ed36125bcd 100644 --- a/arch/mips/pci/pci-bcm1480.c +++ b/arch/mips/pci/pci-bcm1480.c | |||
@@ -178,8 +178,8 @@ struct pci_ops bcm1480_pci_ops = { | |||
178 | 178 | ||
179 | static struct resource bcm1480_mem_resource = { | 179 | static struct resource bcm1480_mem_resource = { |
180 | .name = "BCM1480 PCI MEM", | 180 | .name = "BCM1480 PCI MEM", |
181 | .start = 0x30000000UL, | 181 | .start = A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES, |
182 | .end = 0x3fffffffUL, | 182 | .end = A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES + 0xfffffffUL, |
183 | .flags = IORESOURCE_MEM, | 183 | .flags = IORESOURCE_MEM, |
184 | }; | 184 | }; |
185 | 185 | ||