diff options
Diffstat (limited to 'sys/arm/freescale/vybrid/vf_nfc.c')
-rw-r--r-- | sys/arm/freescale/vybrid/vf_nfc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/freescale/vybrid/vf_nfc.c b/sys/arm/freescale/vybrid/vf_nfc.c index 8132200..28db4c6 100644 --- a/sys/arm/freescale/vybrid/vf_nfc.c +++ b/sys/arm/freescale/vybrid/vf_nfc.c @@ -171,6 +171,9 @@ static int vf_nand_probe(device_t dev) { + if (!ofw_bus_status_okay(dev)) + return (ENXIO); + if (!ofw_bus_is_compatible(dev, "fsl,mvf600-nand")) return (ENXIO); |