From: Antoine Ténart Date: Wed, 30 Jul 2014 18:13:58 +0000 (+0200) Subject: ata: ahci_platform: add a generic AHCI compatible X-Git-Tag: v3.17-rc1~146^2~2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=30f3c73c9b526a88920d098dcb331319e284e1b3;p=linux.git 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 --- 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, 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", },