aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-bcm1480ht.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-01-29 05:14:59 -0500
committerRalf Baechle <ralf@linux-mips.org>2008-01-29 05:14:59 -0500
commit07c019bcccbfb7ca148494444442a3c48880729a (patch)
treed8662075e745e644b78e8cab5c31c9d54fd2c94f /arch/mips/pci/pci-bcm1480ht.c
parente2defae5a9b4f8d1acb058be212ef89c8763dc5b (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-bcm1480ht.c')
-rw-r--r--arch/mips/pci/pci-bcm1480ht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/pci/pci-bcm1480ht.c b/arch/mips/pci/pci-bcm1480ht.c
index a63e3bd6b0a..005e7fecab0 100644
--- a/arch/mips/pci/pci-bcm1480ht.c
+++ b/arch/mips/pci/pci-bcm1480ht.c
@@ -173,8 +173,8 @@ struct pci_ops bcm1480ht_pci_ops = {
173 173
174static struct resource bcm1480ht_mem_resource = { 174static struct resource bcm1480ht_mem_resource = {
175 .name = "BCM1480 HT MEM", 175 .name = "BCM1480 HT MEM",
176 .start = 0x40000000UL, 176 .start = A_BCM1480_PHYS_HT_MEM_MATCH_BYTES,
177 .end = 0x5fffffffUL, 177 .end = A_BCM1480_PHYS_HT_MEM_MATCH_BYTES + 0x1fffffffUL,
178 .flags = IORESOURCE_MEM, 178 .flags = IORESOURCE_MEM,
179}; 179};
180 180