]> err.no Git - linux-2.6/commit
PM: Fix misuse of wakeup flag accessors in serial core
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 19 Mar 2008 21:35:13 +0000 (22:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 20 Apr 2008 02:10:25 +0000 (19:10 -0700)
commit74081f8667d73ad59961cf63be5f0e9d6a87c8a3
treef809a9e099c252c89ea18c84bf991f7af76e8b7e
parent57eee3d23e8833ca18708b374c648235691942ba
PM: Fix misuse of wakeup flag accessors in serial core

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@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/serial_core.c