]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/block/xsysace.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-2.6 into test
[karo-tx-linux.git] / drivers / block / xsysace.c
index 6e968cd4893caea636246796fac124e7b34d83a6..829161edae53034d0d97ac72a56e6e46f02346ae 100644 (file)
@@ -1225,7 +1225,8 @@ ace_of_probe(struct platform_device *op, const struct of_device_id *match)
                bus_width = ACE_BUS_WIDTH_8;
 
        /* Call the bus-independant setup code */
-       return ace_alloc(&op->dev, id ? *id : 0, physaddr, irq, bus_width);
+       return ace_alloc(&op->dev, id ? be32_to_cpup(id) : 0,
+                                               physaddr, irq, bus_width);
 }
 
 static int __devexit ace_of_remove(struct platform_device *op)