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:
Kiran Padwal 2014-07-22 19:45:43 +05:30 committed by Tejun Heo
parent 11838230da
commit 09de99db23
1 changed files with 1 additions and 1 deletions

View File

@ -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 struct of_device_id st_ahci_match[] = {
static const struct of_device_id st_ahci_match[] = {
{ .compatible = "st,ahci", },
{},
};