mfd: Constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Lee Jones <lee.jones@linaro.org>
此提交包含在:
@@ -829,7 +829,7 @@ static struct twl4030_power_data osc_off_idle = {
|
||||
.board_config = osc_off_rconfig,
|
||||
};
|
||||
|
||||
static struct of_device_id twl4030_power_of_match[] = {
|
||||
static const struct of_device_id twl4030_power_of_match[] = {
|
||||
{
|
||||
.compatible = "ti,twl4030-power",
|
||||
},
|
||||
|
新增問題並參考
封鎖使用者