diff mbox

[2/2] Implement EV_KEY:BTN_TOUCH reporting on AD7879 touch screen driver

Message ID 1277815797.11338.8.camel@mhenneri-D02.ad.analog.com (mailing list archive)
State New, archived
Headers show

Commit Message

Hennerich, Michael June 29, 2010, 12:49 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/touchscreen/ad7879.c
b/drivers/input/touchscreen/ad7879.c
index 1ac0713..05e8574 100644
--- a/drivers/input/touchscreen/ad7879.c
+++ b/drivers/input/touchscreen/ad7879.c
@@ -146,7 +146,7 @@  static int ad7879_write(struct ad7879 *ts, u8 reg,
u16 val)
 	return ts->bops->write(ts->dev, reg, val);
 }
 
-static void ad7879_report(struct ad7879 *ts)
+static int ad7879_report(struct ad7879 *ts)
 {
 	struct input_dev *input_dev = ts->input;