diff options
author | Kiran Padwal <kiran.padwal21@gmail.com> | 2014-07-22 16:15:43 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-07-22 17:43:17 +0200 |
commit | 09de99db23df55c7415d110f6c62281dedd77384 (patch) | |
tree | 24ca23c49c302305e6a5de98a263464b9549e4f1 | |
parent | sata_sil24: Identify which card suffered IRQ status error (diff) | |
download | linux-09de99db23df55c7415d110f6c62281dedd77384.tar.xz linux-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>
-rw-r--r-- | drivers/ata/ahci_st.c | 2 |
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", }, {}, }; |