summaryrefslogtreecommitdiffstats
path: root/drivers/serial/pmac_zilog.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2007-08-26 19:10:59 +1000
committerPaul Mackerras <paulus@samba.org>2007-09-19 14:40:54 +1000
commitaa0154290fc05948560ac43afcccf8259e10bcd0 (patch)
tree4e579faccc336d38708aa3c1748597907f97c714 /drivers/serial/pmac_zilog.c
parent00efee7d5d0d7888aafbf0d2de76943ee8aca47a (diff)
downloadblackbird-op-linux-aa0154290fc05948560ac43afcccf8259e10bcd0.tar.gz
blackbird-op-linux-aa0154290fc05948560ac43afcccf8259e10bcd0.zip
[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.c2
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)
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;
OpenPOWER on IntegriCloud