diff mbox

touchscreen/nuc900: fix wrong setup_timer parameter

Message ID 4C3FC736.4010805@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

wan zongshun July 16, 2010, 2:43 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/touchscreen/w90p910_ts.c b/drivers/input/touchscreen/w90p910_ts.c
index cc18265..7a45d68 100644
--- a/drivers/input/touchscreen/w90p910_ts.c
+++ b/drivers/input/touchscreen/w90p910_ts.c
@@ -233,7 +233,7 @@  static int __devinit w90x900ts_probe(struct platform_device *pdev)
 	w90p910_ts->state = TS_IDLE;
 	spin_lock_init(&w90p910_ts->lock);
 	setup_timer(&w90p910_ts->timer, w90p910_check_pen_up,
-		    (unsigned long)&w90p910_ts);
+		    (unsigned long)w90p910_ts);

 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!res) {