]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ssb/driver_mipscore.c
ide-tape: struct idetape_tape_t: shorten member names v2
[linux-2.6-omap-h63xx.git] / drivers / ssb / driver_mipscore.c
index ab8691a325802e19d374e601e6a3c5f3f60fc55a..3d3dd32bf3ab88475aa16ad6abccdc491682a86b 100644 (file)
@@ -173,7 +173,7 @@ u32 ssb_cpu_clock(struct ssb_mipscore *mcore)
 
 void ssb_mipscore_init(struct ssb_mipscore *mcore)
 {
-       struct ssb_bus *bus = mcore->dev->bus;
+       struct ssb_bus *bus;
        struct ssb_device *dev;
        unsigned long hz, ns;
        unsigned int irq, i;
@@ -183,6 +183,7 @@ void ssb_mipscore_init(struct ssb_mipscore *mcore)
 
        ssb_dprintk(KERN_INFO PFX "Initializing MIPS core...\n");
 
+       bus = mcore->dev->bus;
        hz = ssb_clockspeed(bus);
        if (!hz)
                hz = 100000000;