]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/powerpc/sysdev/tsi108_dev.c
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / arch / powerpc / sysdev / tsi108_dev.c
index d4d15aaf18fabaeef8f13dc2f1b790b0c96458aa..ee056807b52c027674e04438721abd42fce0feb4 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/module.h>
 #include <linux/device.h>
 #include <linux/platform_device.h>
+#include <linux/of_net.h>
 #include <asm/tsi108.h>
 
 #include <asm/system.h>
@@ -83,8 +84,8 @@ static int __init tsi108_eth_of_init(void)
                memset(&tsi_eth_data, 0, sizeof(tsi_eth_data));
 
                ret = of_address_to_resource(np, 0, &r[0]);
-               DBG("%s: name:start->end = %s:0x%lx-> 0x%lx\n",
-                       __func__,r[0].name, r[0].start, r[0].end);
+               DBG("%s: name:start->end = %s:%pR\n",
+                   __func__, r[0].name, &r[0]);
                if (ret)
                        goto err;
 
@@ -92,8 +93,8 @@ static int __init tsi108_eth_of_init(void)
                r[1].start = irq_of_parse_and_map(np, 0);
                r[1].end = irq_of_parse_and_map(np, 0);
                r[1].flags = IORESOURCE_IRQ;
-               DBG("%s: name:start->end = %s:0x%lx-> 0x%lx\n",
-                       __func__,r[1].name, r[1].start, r[1].end);
+               DBG("%s: name:start->end = %s:%pR\n",
+                       __func__, r[1].name, &r[1]);
 
                tsi_eth_dev =
                    platform_device_register_simple("tsi-ethernet", i++, &r[0],