diff options
author | Kiran Padwal <kiran.padwal21@gmail.com> | 2014-07-22 19:45:43 +0530 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-07-22 11:43:17 -0400 |
commit | 09de99db23df55c7415d110f6c62281dedd77384 (patch) | |
tree | 24ca23c49c302305e6a5de98a263464b9549e4f1 /drivers/ata | |
parent | 11838230da18cea5bc26a813b5425fe839248e93 (diff) | |
download | linux-stable-09de99db23df55c7415d110f6c62281dedd77384.tar.gz linux-stable-09de99db23df55c7415d110f6c62281dedd77384.tar.bz2 linux-stable-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')
-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", }, {}, }; |