From: Kiran Padwal Date: Tue, 22 Jul 2014 14:15:43 +0000 (+0530) Subject: ahci: st: Make of_device_id array const X-Git-Tag: android-x86-4.4-r2~752^2~9 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=09de99db23df55c7415d110f6c62281dedd77384;p=android-x86%2Fkernel.git 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 Acked-by: Lee Jones Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/ahci_st.c b/drivers/ata/ahci_st.c index 2595598df9ce..29821b9fd13d 100644 --- a/drivers/ata/ahci_st.c +++ b/drivers/ata/ahci_st.c @@ -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", }, {}, };