diff mbox

[1/2] ad7879: fix spi word size to 16 bit

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

Commit Message

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

Patch

diff --git a/drivers/input/touchscreen/ad7879-spi.c
b/drivers/input/touchscreen/ad7879-spi.c
index 9fa8e5d..59c6e68 100644
--- a/drivers/input/touchscreen/ad7879-spi.c
+++ b/drivers/input/touchscreen/ad7879-spi.c
@@ -134,6 +134,7 @@  static const struct ad7879_bus_ops
ad7879_spi_bus_ops = {
 static int __devinit ad7879_spi_probe(struct spi_device *spi)
 {
 	struct ad7879 *ts;
+	int err;
 
 	/* don't exceed max specified SPI CLK frequency */