diff options
author | Olaf Hering <olaf@aepfle.de> | 2007-08-26 05:10:59 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-09-19 00:40:54 -0400 |
commit | aa0154290fc05948560ac43afcccf8259e10bcd0 (patch) | |
tree | 4e579faccc336d38708aa3c1748597907f97c714 /drivers/serial/pmac_zilog.c | |
parent | 00efee7d5d0d7888aafbf0d2de76943ee8aca47a (diff) |
[POWERPC] Fix pmac_zilog debug arg
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>
Diffstat (limited to 'drivers/serial/pmac_zilog.c')
-rw-r--r-- | drivers/serial/pmac_zilog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/pmac_zilog.c b/drivers/serial/pmac_zilog.c index 0fa9f6761763..f793ac212672 100644 --- a/drivers/serial/pmac_zilog.c +++ b/drivers/serial/pmac_zilog.c | |||
@@ -1587,7 +1587,7 @@ static int pmz_suspend(struct macio_dev *mdev, pm_message_t pm_state) | |||
1587 | if (pm_state.event == mdev->ofdev.dev.power.power_state.event) | 1587 | if (pm_state.event == mdev->ofdev.dev.power.power_state.event) |
1588 | return 0; | 1588 | return 0; |
1589 | 1589 | ||
1590 | pmz_debug("suspend, switching to state %d\n", pm_state); | 1590 | pmz_debug("suspend, switching to state %d\n", pm_state.event); |
1591 | 1591 | ||
1592 | state = pmz_uart_reg.state + uap->port.line; | 1592 | state = pmz_uart_reg.state + uap->port.line; |
1593 | 1593 | ||