]> Pileus Git - ~andy/linux/commit
staging/olpc_dcon: move wait queue into dcon_priv struct
authorAndres Salomon <dilinger@queued.net>
Mon, 1 Oct 2012 21:45:50 +0000 (14:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 18:39:21 +0000 (11:39 -0700)
commitc40f20da3b3f0738ced45533c743217e00090062
tree2edab75da6ce9c46274f788188e04b519bf6b1fc
parent802562807af61fc8b6f830725e127bf53e0a7f1c
staging/olpc_dcon: move wait queue into dcon_priv struct

Another global variable (dcon_wait_queue) moved into the dcon_priv struct.
In the process, replace an instance of a manually implemented
wait_event_timeout.  This code came from Jordan's original gxfb_dcon.c
driver waaaay back in 2006; well past time for a replacement.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/olpc_dcon/olpc_dcon.c
drivers/staging/olpc_dcon/olpc_dcon.h