diff options
-rw-r--r-- | drivers/iio/light/vcnl4000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c index 384ac23f576f..d948c4778ba6 100644 --- a/drivers/iio/light/vcnl4000.c +++ b/drivers/iio/light/vcnl4000.c | |||
@@ -56,7 +56,7 @@ static int vcnl4000_measure(struct vcnl4000_data *data, u8 req_mask, | |||
56 | u8 rdy_mask, u8 data_reg, int *val) | 56 | u8 rdy_mask, u8 data_reg, int *val) |
57 | { | 57 | { |
58 | int tries = 20; | 58 | int tries = 20; |
59 | u16 buf; | 59 | __be16 buf; |
60 | int ret; | 60 | int ret; |
61 | 61 | ||
62 | ret = i2c_smbus_write_byte_data(data->client, VCNL4000_COMMAND, | 62 | ret = i2c_smbus_write_byte_data(data->client, VCNL4000_COMMAND, |