summaryrefslogtreecommitdiff
path: root/drivers/char/bsr.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-01-06 17:28:48 +0300
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-01-13 06:48:00 +0300
commit1901515c79f13d9a1913d246b6c0711318dadb4c (patch)
treeac8f3bc49fad51aac70690050fec46fe8e3d5e14 /drivers/char/bsr.c
parent9477e455b4b3ded3e7add8c96d8293105947eaac (diff)
downloadlinux-1901515c79f13d9a1913d246b6c0711318dadb4c.tar.xz
powerpc: Cleanup from l64 to ll64 change: drivers/char
This is a powerpc specific driver. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/char/bsr.c')
-rw-r--r--drivers/char/bsr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c
index 977dfb1096a0..f6094ae0ef33 100644
--- a/drivers/char/bsr.c
+++ b/drivers/char/bsr.c
@@ -103,7 +103,7 @@ static ssize_t
bsr_len_show(struct device *dev, struct device_attribute *attr, char *buf)
{
struct bsr_dev *bsr_dev = dev_get_drvdata(dev);
- return sprintf(buf, "%lu\n", bsr_dev->bsr_len);
+ return sprintf(buf, "%llu\n", bsr_dev->bsr_len);
}
static struct device_attribute bsr_dev_attrs[] = {