projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d69a3
)
sh: pfc: Fixup type mismatch in debug printks.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 9 Dec 2009 06:51:27 +0000
(15:51 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 9 Dec 2009 06:51:27 +0000
(15:51 +0900)
!!value works out to an int while we were still using %ld, so fix this up
and shut gcc up.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/pfc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sh/pfc.c
b/drivers/sh/pfc.c
index 841ed5030c8f82f15d22ff0b74fff26cd903f244..082604edc4c2943d16678411498f33ddff560e46 100644
(file)
--- a/
drivers/sh/pfc.c
+++ b/
drivers/sh/pfc.c
@@
-71,7
+71,7
@@
static void gpio_write_bit(struct pinmux_data_reg *dr,
pos = dr->reg_width - (in_pos + 1);
- pr_debug("write_bit addr = %lx, value = %
l
d, pos = %ld, "
+ pr_debug("write_bit addr = %lx, value = %d, pos = %ld, "
"r_width = %ld\n",
dr->reg, !!value, pos, dr->reg_width);