diff --git a/drivers/mci/mci-bcm2835.c b/drivers/mci/mci-bcm2835.c index c7a8cf9..daf7719 100644 --- a/drivers/mci/mci-bcm2835.c +++ b/drivers/mci/mci-bcm2835.c @@ -543,9 +543,18 @@ return mci_register(&host->mci); } +static __maybe_unused struct of_device_id bcm2835_mci_compatible[] = { + { + .compatible = "brcm,bcm2835-sdhci", + }, { + /* sentinel */ + } +}; + static struct driver_d bcm2835_mci_driver = { .name = "bcm2835_mci", .probe = bcm2835_mci_probe, + .of_compatible = DRV_OF_COMPAT(bcm2835_mci_compatible), }; static int bcm2835_mci_add(void)