More pmac-zilog sleep fix
PATCH 1/1 More pmac-zilog sleep fix
In the long story of "BenH can't get a simple fix right the first time", please add this one to pmac_zilog, and now people should enjoy really working sleep again on pmac laptops ...
If the serial port was closed, we could use an uninitialized "pwr_delay" and pass that to schedule_timeout().
===== drivers/serial/pmac_zilog.c 1.7 vs edited =====
drivers/serial/pmac_zilog.c +1 -1
@@ -1627,7 +1627,7 @@struct uart_pmac_port *uap =dev_get_drvdata (&mdev->ofdev.dev);struct uart_state *state;unsigned long flags; -int pwr_delay; +int pwr_delay =0 ;if (uap ==NULL )return 0 ;