aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/adxl34x-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/adxl34x-spi.c')
-rw-r--r--drivers/input/misc/adxl34x-spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/misc/adxl34x-spi.c b/drivers/input/misc/adxl34x-spi.c
index 5231add66a65..f29de22fdda0 100644
--- a/drivers/input/misc/adxl34x-spi.c
+++ b/drivers/input/misc/adxl34x-spi.c
@@ -58,7 +58,7 @@ static int adxl34x_spi_read_block(struct device *dev,
58 return (status < 0) ? status : 0; 58 return (status < 0) ? status : 0;
59} 59}
60 60
61static const struct adxl34x_bus_ops adx134x_spi_bops = { 61static const struct adxl34x_bus_ops adxl34x_spi_bops = {
62 .bustype = BUS_SPI, 62 .bustype = BUS_SPI,
63 .write = adxl34x_spi_write, 63 .write = adxl34x_spi_write,
64 .read = adxl34x_spi_read, 64 .read = adxl34x_spi_read,
@@ -77,7 +77,7 @@ static int __devinit adxl34x_spi_probe(struct spi_device *spi)
77 77
78 ac = adxl34x_probe(&spi->dev, spi->irq, 78 ac = adxl34x_probe(&spi->dev, spi->irq,
79 spi->max_speed_hz > MAX_FREQ_NO_FIFODELAY, 79 spi->max_speed_hz > MAX_FREQ_NO_FIFODELAY,
80 &adx134x_spi_bops); 80 &adxl34x_spi_bops);
81 81
82 if (IS_ERR(ac)) 82 if (IS_ERR(ac))
83 return PTR_ERR(ac); 83 return PTR_ERR(ac);