projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9477e45
)
powerpc: Cleanup from l64 to ll64 change: drivers/char
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Tue, 6 Jan 2009 14:28:48 +0000
(14:28 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 13 Jan 2009 03:48:00 +0000
(14:48 +1100)
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>
drivers/char/bsr.c
patch
|
blob
|
history
diff --git
a/drivers/char/bsr.c
b/drivers/char/bsr.c
index
977dfb1
..
f6094ae
100644
(file)
--- 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, "%l
l
u\n", bsr_dev->bsr_len);
}
static struct device_attribute bsr_dev_attrs[] = {