The patch titled pm: fix misuse of wakeup flag accessors in serial core has been removed from the -mm tree. Its filename was pm-fix-misuse-of-wakeup-flag-accessors-in-serial-core.patch This patch was dropped because an updated version will be merged The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: pm: fix misuse of wakeup flag accessors in serial core From: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> This patch (as1059) fixes a mistake in the way the serial core initializes a device's wakeup settings. It should use the accessor routine instead of relying on a macro producing an lvalue. Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Cc: "Rafael J. Wysocki" <rjw@xxxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/serial/serial_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/serial/serial_core.c~pm-fix-misuse-of-wakeup-flag-accessors-in-serial-core drivers/serial/serial_core.c --- a/drivers/serial/serial_core.c~pm-fix-misuse-of-wakeup-flag-accessors-in-serial-core +++ a/drivers/serial/serial_core.c @@ -2422,7 +2422,7 @@ int uart_add_one_port(struct uart_driver */ tty_dev = tty_register_device(drv->tty_driver, port->line, port->dev); if (likely(!IS_ERR(tty_dev))) { - device_can_wakeup(tty_dev) = 1; + device_init_wakeup(tty_dev, 1); device_set_wakeup_enable(tty_dev, 0); } else printk(KERN_ERR "Cannot register tty device on line %d\n", _ Patches currently in -mm which might be from stern@xxxxxxxxxxxxxxxxxxx are revert-gregkh-driver-pm-make-wakeup-flags-available-whenever-config_pm-is-set.patch pm-fix-misuse-of-wakeup-flag-accessors-in-serial-core.patch pm-make-wakeup-flags-available-whenever-config_pm-is-set.patch pm-convert-wakeup-flag-accessors-to-inline-functions.patch pm-convert-wakeup-flag-accessors-to-inline-functions-fix.patch isd200-fix-memory-leak-in-isd200_get_inquiry_data.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html