Input: constify of_device_id arrays
of_device_id is always used as const argument (See driver.of_match_table and open firmware functions). Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:

committed by
Dmitry Torokhov

parent
d1b12075ff
commit
245165de98
@@ -304,7 +304,7 @@ static SIMPLE_DEV_PM_OPS(palmas_pwron_pm,
|
||||
palmas_pwron_suspend, palmas_pwron_resume);
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
static struct of_device_id of_palmas_pwr_match[] = {
|
||||
static const struct of_device_id of_palmas_pwr_match[] = {
|
||||
{ .compatible = "ti,palmas-pwrbutton" },
|
||||
{ },
|
||||
};
|
||||
|
Reference in New Issue
Block a user