summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r--drivers/ata/ahci.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 3aff3f3c2d..2d6e42232f 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -671,10 +671,19 @@ static int ahci_probe(struct device_d *dev)
return ret;
}
+static __maybe_unused struct of_device_id ahci_dt_ids[] = {
+ {
+ .compatible = "calxeda,hb-ahci",
+ }, {
+ /* sentinel */
+ }
+};
+
static struct driver_d ahci_driver = {
.name = "ahci",
.probe = ahci_probe,
.info = ahci_info,
+ .of_compatible = DRV_OF_COMPAT(ahci_dt_ids),
};
static int ahci_init(void)