mfd: max77693: Make of_device_id array const
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>
This commit is contained in:
Родитель
bd6d35a62d
Коммит
5ce9a55bdf
|
@ -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" },
|
||||
{},
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче