]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mfd: max77693: Make of_device_id array const
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 13 May 2014 10:58:52 +0000 (12:58 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 23 May 2014 09:34:17 +0000 (10:34 +0100)
Array of struct of_device_id may be be const as expected by
of_match_table field.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max77693.c

index c5535f01846684e48120056d9a45483690911c21..7e05428c756d47c6936d5f39f7808a0394c95872 100644 (file)
@@ -243,7 +243,7 @@ static const struct dev_pm_ops max77693_pm = {
 };
 
 #ifdef CONFIG_OF
-static struct of_device_id max77693_dt_match[] = {
+static const struct of_device_id max77693_dt_match[] = {
        { .compatible = "maxim,max77693" },
        {},
 };