ata: ahci_platform: add a generic AHCI compatible
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Wed, 30 Jul 2014 18:13:58 +0000 (20:13 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 30 Jul 2014 19:39:46 +0000 (15:39 -0400)
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>
drivers/ata/ahci_platform.c

index fb3eca5cd66c4d3da6736d55e868574948b23ccb..f61ddb9146d6ff82971f60d18bc0cb291f6eb740 100644 (file)
@@ -76,6 +76,8 @@ static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_platform_suspend,
                         ahci_platform_resume);
 
 static const struct of_device_id ahci_of_match[] = {
+       { .compatible = "generic-ahci", },
+       /* Keep the following compatibles for device tree compatibility */
        { .compatible = "snps,spear-ahci", },
        { .compatible = "snps,exynos5440-ahci", },
        { .compatible = "ibm,476gtr-ahci", },