mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
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: Kiran Padwal <kiran.padwal21@gmail.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
11838230da
commit
09de99db23
1 changed files with 1 additions and 1 deletions
|
@ -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", },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue