aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dio
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-12-30 14:22:01 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2009-01-12 20:56:42 +0100
commitfae3306ac0c74be0e1ab32e1c77120e792ab2a33 (patch)
treeb3c64b4c49ca4c9d29a5913629a3c75913c5a3ea /drivers/dio
parent89bde7b86e21291ef091dc6ad3e63412f7c6ddd9 (diff)
downloadkernel_goldelico_gta04-fae3306ac0c74be0e1ab32e1c77120e792ab2a33.zip
kernel_goldelico_gta04-fae3306ac0c74be0e1ab32e1c77120e792ab2a33.tar.gz
kernel_goldelico_gta04-fae3306ac0c74be0e1ab32e1c77120e792ab2a33.tar.bz2
m68k: dio - Kill resource_size_t format warnings
warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/dio')
-rw-r--r--drivers/dio/dio-sysfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dio/dio-sysfs.c b/drivers/dio/dio-sysfs.c
index 91d5f4d..ee1a3b5 100644
--- a/drivers/dio/dio-sysfs.c
+++ b/drivers/dio/dio-sysfs.c
@@ -58,7 +58,8 @@ static ssize_t dio_show_resource(struct device *dev, struct device_attribute *at
struct dio_dev *d = to_dio_dev(dev);
return sprintf(buf, "0x%08lx 0x%08lx 0x%08lx\n",
- dio_resource_start(d), dio_resource_end(d),
+ (unsigned long)dio_resource_start(d),
+ (unsigned long)dio_resource_end(d),
dio_resource_flags(d));
}
static DEVICE_ATTR(resource, S_IRUGO, dio_show_resource, NULL);