summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/da311.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/da311.c')
-rw-r--r--drivers/iio/accel/da311.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/da311.c b/drivers/iio/accel/da311.c
index 537cfa8b6edf..c0c1620d2a2f 100644
--- a/drivers/iio/accel/da311.c
+++ b/drivers/iio/accel/da311.c
@@ -139,7 +139,7 @@ static int da311_register_mask_write(struct i2c_client *client, u16 addr,
/* Init sequence taken from the android driver */
static int da311_reset(struct i2c_client *client)
{
- const struct {
+ static const struct {
u16 addr;
u8 mask;
u8 data;