Skip to content

Commit

Permalink
ahci: st: Make of_device_id array const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kiran Padwal authored and Tejun Heo committed Jul 22, 2014
1 parent 1183823 commit 09de99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/ahci_st.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{},
};
Expand Down

0 comments on commit 09de99d

Please sign in to comment.