aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/w1/masters/mxc_w1.c2
-rw-r--r--drivers/w1/masters/omap_hdq.c2
-rw-r--r--drivers/w1/masters/w1-gpio.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c
index 53bf2c860ad3..a4621757a47f 100644
--- a/drivers/w1/masters/mxc_w1.c
+++ b/drivers/w1/masters/mxc_w1.c
@@ -166,7 +166,7 @@ static int mxc_w1_remove(struct platform_device *pdev)
166 return 0; 166 return 0;
167} 167}
168 168
169static struct of_device_id mxc_w1_dt_ids[] = { 169static const struct of_device_id mxc_w1_dt_ids[] = {
170 { .compatible = "fsl,imx21-owire" }, 170 { .compatible = "fsl,imx21-owire" },
171 { /* sentinel */ } 171 { /* sentinel */ }
172}; 172};
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index 03321d6a2684..e7d448963a24 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -72,7 +72,7 @@ struct hdq_data {
72static int omap_hdq_probe(struct platform_device *pdev); 72static int omap_hdq_probe(struct platform_device *pdev);
73static int omap_hdq_remove(struct platform_device *pdev); 73static int omap_hdq_remove(struct platform_device *pdev);
74 74
75static struct of_device_id omap_hdq_dt_ids[] = { 75static const struct of_device_id omap_hdq_dt_ids[] = {
76 { .compatible = "ti,omap3-1w" }, 76 { .compatible = "ti,omap3-1w" },
77 {} 77 {}
78}; 78};
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)
71static struct of_device_id w1_gpio_dt_ids[] = { 71static const struct of_device_id w1_gpio_dt_ids[] = {
72 { .compatible = "w1-gpio" }, 72 { .compatible = "w1-gpio" },
73 {} 73 {}
74}; 74};