aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-06-20 17:27:10 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-06-20 17:27:10 -0400
commit3b1d4ed5353af04d6aa20be2701727b9cdb2ac61 (patch)
treee4a3335c925abd933f1650e1ee4786e6bfad8f35 /drivers
parent7c8545e98468c53809fc06788a3b9a34dff05240 (diff)
[MIPS] Don't drag a platform specific header into generic arch code.
For some platforms it's definitions may conflict. So that's the one-liner. The rest is 10 square kilometers of collateral damage fixup this include used to paper over. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/mipsnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mipsnet.c b/drivers/net/mipsnet.c
index 638a279ec505..9853c74f6bbf 100644
--- a/drivers/net/mipsnet.c
+++ b/drivers/net/mipsnet.c
@@ -240,7 +240,7 @@ static int __init mipsnet_probe(struct device *dev)
240 * TODO: probe for these or load them from PARAM 240 * TODO: probe for these or load them from PARAM
241 */ 241 */
242 netdev->base_addr = 0x4200; 242 netdev->base_addr = 0x4200;
243 netdev->irq = MIPSCPU_INT_BASE + MIPSCPU_INT_MB0 + 243 netdev->irq = MIPS_CPU_IRQ_BASE + MIPSCPU_INT_MB0 +
244 inl(mipsnet_reg_address(netdev, interruptInfo)); 244 inl(mipsnet_reg_address(netdev, interruptInfo));
245 245
246 // Get the io region now, get irq on open() 246 // Get the io region now, get irq on open()