aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_st.c
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal21@gmail.com>2014-07-22 19:45:43 +0530
committerTejun Heo <tj@kernel.org>2014-07-22 11:43:17 -0400
commit09de99db23df55c7415d110f6c62281dedd77384 (patch)
tree24ca23c49c302305e6a5de98a263464b9549e4f1 /drivers/ata/ahci_st.c
parentsata_sil24: Identify which card suffered IRQ status error (diff)
downloadlinux-dev-09de99db23df55c7415d110f6c62281dedd77384.tar.xz
linux-dev-09de99db23df55c7415d110f6c62281dedd77384.zip
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>
Diffstat (limited to 'drivers/ata/ahci_st.c')
-rw-r--r--drivers/ata/ahci_st.c2
1 files changed, 1 insertions, 1 deletions
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", },
{},
};