Commit 09de99db authored by Kiran Padwal's avatar Kiran Padwal Committed by Tejun Heo

ahci: st: Make of_device_id array const

Make of_device_id array const, because all OF functions handle it as const.
Signed-off-by: default avatarKiran Padwal <kiran.padwal21@gmail.com>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 11838230
...@@ -221,7 +221,7 @@ static int st_ahci_resume(struct device *dev) ...@@ -221,7 +221,7 @@ static int st_ahci_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(st_ahci_pm_ops, st_ahci_suspend, st_ahci_resume); static SIMPLE_DEV_PM_OPS(st_ahci_pm_ops, st_ahci_suspend, st_ahci_resume);
static struct of_device_id st_ahci_match[] = { static const struct of_device_id st_ahci_match[] = {
{ .compatible = "st,ahci", }, { .compatible = "st,ahci", },
{}, {},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment