summaryrefslogtreecommitdiffstats
path: root/sys/arm/lpc/lpc_intc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/lpc/lpc_intc.c')
-rw-r--r--sys/arm/lpc/lpc_intc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/lpc/lpc_intc.c b/sys/arm/lpc/lpc_intc.c
index b39704d..3137e89 100644
--- a/sys/arm/lpc/lpc_intc.c
+++ b/sys/arm/lpc/lpc_intc.c
@@ -68,6 +68,9 @@ static int
lpc_intc_probe(device_t dev)
{
+ if (!ofw_bus_status_okay(dev))
+ return (ENXIO);
+
if (!ofw_bus_is_compatible(dev, "lpc,pic"))
return (ENXIO);
OpenPOWER on IntegriCloud