summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/stmpe-adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/stmpe-adc.c')
-rw-r--r--drivers/iio/adc/stmpe-adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/stmpe-adc.c b/drivers/iio/adc/stmpe-adc.c
index bd72727fc417..0f88048ea48f 100644
--- a/drivers/iio/adc/stmpe-adc.c
+++ b/drivers/iio/adc/stmpe-adc.c
@@ -175,7 +175,7 @@ static int stmpe_read_raw(struct iio_dev *indio_dev,
static irqreturn_t stmpe_adc_isr(int irq, void *dev_id)
{
struct stmpe_adc *info = (struct stmpe_adc *)dev_id;
- u16 data;
+ __be16 data;
if (info->channel <= STMPE_ADC_LAST_NR) {
int int_sta;