diff options
Diffstat (limited to 'sys/arm/lpc/lpc_mmc.c')
-rw-r--r-- | sys/arm/lpc/lpc_mmc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/lpc/lpc_mmc.c b/sys/arm/lpc/lpc_mmc.c index 257487d..5dc6722 100644 --- a/sys/arm/lpc/lpc_mmc.c +++ b/sys/arm/lpc/lpc_mmc.c @@ -166,6 +166,10 @@ static struct lpc_dmac_channel_config lpc_mmc_dma_txconf = { static int lpc_mmc_probe(device_t dev) { + + if (!ofw_bus_status_okay(dev)) + return (ENXIO); + if (!ofw_bus_is_compatible(dev, "lpc,mmc")) return (ENXIO); |