diff mbox

[08/17] Input: tsc2005 - set up bus type in input device

Message ID 20110316071840.25664.3843.stgit@hammer.corenet.prv (mailing list archive)
State Accepted
Commit f8a67139c68eb8a58907906622c9aa02cd6a1dd1
Headers show

Commit Message

Dmitry Torokhov March 16, 2011, 7:18 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c
index e294648..09cbcb0 100644
--- a/drivers/input/touchscreen/tsc2005.c
+++ b/drivers/input/touchscreen/tsc2005.c
@@ -555,6 +555,7 @@  static int __devinit tsc2005_setup(struct tsc2005 *ts,
 	snprintf(ts->phys, sizeof(ts->phys), "%s/input-ts",
 		 dev_name(&ts->spi->dev));
 	ts->idev->phys = ts->phys;
+	ts->idev->id.bustype = BUS_SPI;
 	ts->idev->dev.parent = &ts->spi->dev;
 	ts->idev->evbit[0] = BIT(EV_ABS) | BIT(EV_KEY);
 	ts->idev->absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE);