aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-12-09 01:51:27 -0500
committerPaul Mundt <lethal@linux-sh.org>2009-12-09 01:51:27 -0500
commitca6f2d7fafd2d48b2f6943f5c6787beaec2014d0 (patch)
tree81aced258ba2c00fd8b1bb35e2cde8989e7bcdd9 /drivers/sh
parentd2d69a3ab2e62bcf8e5f5303bde024033face902 (diff)
sh: pfc: Fixup type mismatch in debug printks.
!!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>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/pfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/pfc.c b/drivers/sh/pfc.c
index 841ed5030c8f..082604edc4c2 100644
--- a/drivers/sh/pfc.c
+++ b/drivers/sh/pfc.c
@@ -71,7 +71,7 @@ static void gpio_write_bit(struct pinmux_data_reg *dr,
71 71
72 pos = dr->reg_width - (in_pos + 1); 72 pos = dr->reg_width - (in_pos + 1);
73 73
74 pr_debug("write_bit addr = %lx, value = %ld, pos = %ld, " 74 pr_debug("write_bit addr = %lx, value = %d, pos = %ld, "
75 "r_width = %ld\n", 75 "r_width = %ld\n",
76 dr->reg, !!value, pos, dr->reg_width); 76 dr->reg, !!value, pos, dr->reg_width);
77 77