aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_platform.c
diff options
context:
space:
mode:
authorAntoine Ténart <antoine.tenart@free-electrons.com>2014-07-30 14:13:58 -0400
committerTejun Heo <tj@kernel.org>2014-07-30 15:39:46 -0400
commit30f3c73c9b526a88920d098dcb331319e284e1b3 (patch)
treefcb52d3929fa44330521e63dbd8c3e572bce1cf6 /drivers/ata/ahci_platform.c
parentb1a9edbda040a43583ff14d63ebeb91abe5848b9 (diff)
ata: ahci_platform: add a generic AHCI compatible
The ahci_platform driver is a generic driver using the libahci_platform functions. Add a generic compatible to avoid having an endless list of compatibles with no differences for the same driver. Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
Diffstat (limited to 'drivers/ata/ahci_platform.c')
-rw-r--r--drivers/ata/ahci_platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index fb3eca5cd66c..f61ddb9146d6 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -76,6 +76,8 @@ static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_platform_suspend,
76 ahci_platform_resume); 76 ahci_platform_resume);
77 77
78static const struct of_device_id ahci_of_match[] = { 78static const struct of_device_id ahci_of_match[] = {
79 { .compatible = "generic-ahci", },
80 /* Keep the following compatibles for device tree compatibility */
79 { .compatible = "snps,spear-ahci", }, 81 { .compatible = "snps,spear-ahci", },
80 { .compatible = "snps,exynos5440-ahci", }, 82 { .compatible = "snps,exynos5440-ahci", },
81 { .compatible = "ibm,476gtr-ahci", }, 83 { .compatible = "ibm,476gtr-ahci", },