Skip to content

Commit

Permalink
[POWERPC] Fix pmac_zilog debug arg
Browse files Browse the repository at this point in the history
drivers/serial/pmac_zilog.c:1590: warning: format '%d' expects type 'int', but argument 3 has type 'pm_message_t'

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Olaf Hering authored and Paul Mackerras committed Sep 19, 2007
1 parent 00efee7 commit aa01542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/pmac_zilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ static int pmz_suspend(struct macio_dev *mdev, pm_message_t pm_state)
if (pm_state.event == mdev->ofdev.dev.power.power_state.event)
return 0;

pmz_debug("suspend, switching to state %d\n", pm_state);
pmz_debug("suspend, switching to state %d\n", pm_state.event);

state = pmz_uart_reg.state + uap->port.line;

Expand Down

0 comments on commit aa01542

Please sign in to comment.