diff options
Diffstat (limited to 'drivers/w1/masters/w1-gpio.c')
-rw-r--r-- | drivers/w1/masters/w1-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c index b99a932ad901..8f7848c62811 100644 --- a/drivers/w1/masters/w1-gpio.c +++ b/drivers/w1/masters/w1-gpio.c | |||
@@ -68,7 +68,7 @@ static u8 w1_gpio_read_bit(void *data) | |||
68 | } | 68 | } |
69 | 69 | ||
70 | #if defined(CONFIG_OF) | 70 | #if defined(CONFIG_OF) |
71 | static struct of_device_id w1_gpio_dt_ids[] = { | 71 | static const struct of_device_id w1_gpio_dt_ids[] = { |
72 | { .compatible = "w1-gpio" }, | 72 | { .compatible = "w1-gpio" }, |
73 | {} | 73 | {} |
74 | }; | 74 | }; |