Skip to content

Commit

Permalink
sh: pfc: Fixup type mismatch in debug printks.
Browse files Browse the repository at this point in the history
!!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>
  • Loading branch information
Paul Mundt committed Dec 9, 2009
1 parent d2d69a3 commit ca6f2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sh/pfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = %ld, pos = %ld, "
pr_debug("write_bit addr = %lx, value = %d, pos = %ld, "
"r_width = %ld\n",
dr->reg, !!value, pos, dr->reg_width);

Expand Down

0 comments on commit ca6f2d7

Please sign in to comment.