summaryrefslogtreecommitdiff
path: root/drivers/staging/olpc_dcon/olpc_dcon.h
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2012-10-01 21:45:50 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 18:39:21 (GMT)
commitc40f20da3b3f0738ced45533c743217e00090062 (patch)
tree2edab75da6ce9c46274f788188e04b519bf6b1fc /drivers/staging/olpc_dcon/olpc_dcon.h
parent802562807af61fc8b6f830725e127bf53e0a7f1c (diff)
downloadlinux-fsl-qoriq-c40f20da3b3f0738ced45533c743217e00090062.tar.xz
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>
Diffstat (limited to 'drivers/staging/olpc_dcon/olpc_dcon.h')
-rw-r--r--drivers/staging/olpc_dcon/olpc_dcon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/olpc_dcon/olpc_dcon.h b/drivers/staging/olpc_dcon/olpc_dcon.h
index 167a417..e3f8437 100644
--- a/drivers/staging/olpc_dcon/olpc_dcon.h
+++ b/drivers/staging/olpc_dcon/olpc_dcon.h
@@ -52,6 +52,7 @@ struct dcon_priv {
struct fb_info *fbinfo;
struct backlight_device *bl_dev;
+ wait_queue_head_t waitq;
struct work_struct switch_source;
struct notifier_block reboot_nb;
struct notifier_block fbevent_nb;