w1: constify of_device_id array
[deliverable/linux.git] / drivers / w1 / masters / w1-gpio.c
index b99a932ad901ff5b81e458349e0100be564fd37f..8f7848c62811aff90bf273b14c1e8146a2f07d32 100644 (file)
@@ -68,7 +68,7 @@ static u8 w1_gpio_read_bit(void *data)
 }
 
 #if defined(CONFIG_OF)
-static struct of_device_id w1_gpio_dt_ids[] = {
+static const struct of_device_id w1_gpio_dt_ids[] = {
        { .compatible = "w1-gpio" },
        {}
 };
This page took 0.049643 seconds and 5 git commands to generate.