]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/zorro/zorro-sysfs.c
Amiga Zorro bus: kill resource_size_t warnings
[linux-2.6-omap-h63xx.git] / drivers / zorro / zorro-sysfs.c
index 04ca8840acf1c4d394c32bb6bcb6013f19a2d45c..c3ba0ec334c45a419513343d7abd505633364482 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/kernel.h>
 #include <linux/zorro.h>
 #include <linux/stat.h>
+#include <linux/string.h>
 
 #include "zorro.h"
 
@@ -41,7 +42,8 @@ static ssize_t zorro_show_resource(struct device *dev, struct device_attribute *
        struct zorro_dev *z = to_zorro_dev(dev);
 
        return sprintf(buf, "0x%08lx 0x%08lx 0x%08lx\n",
-                      zorro_resource_start(z), zorro_resource_end(z),
+                      (unsigned long)zorro_resource_start(z),
+                      (unsigned long)zorro_resource_end(z),
                       zorro_resource_flags(z));
 }