summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/simplebus.c
diff options
context:
space:
mode:
authorray <ray@FreeBSD.org>2013-03-18 23:51:39 +0000
committerray <ray@FreeBSD.org>2013-03-18 23:51:39 +0000
commit905fc9aeb70dcd374e387281c96ee9f885f25651 (patch)
treef7e59626e8c21d1a42212d0fbb0d4d94bbf568ae /sys/dev/fdt/simplebus.c
parentb893c0b25ff830052a49ac7c91eb5801eac0673b (diff)
downloadFreeBSD-src-905fc9aeb70dcd374e387281c96ee9f885f25651.zip
FreeBSD-src-905fc9aeb70dcd374e387281c96ee9f885f25651.tar.gz
Don't hesitate to ask parent to setup IRQ finally.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/dev/fdt/simplebus.c')
-rw-r--r--sys/dev/fdt/simplebus.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/fdt/simplebus.c b/sys/dev/fdt/simplebus.c
index fec24ac..b4e7bfb 100644
--- a/sys/dev/fdt/simplebus.c
+++ b/sys/dev/fdt/simplebus.c
@@ -286,9 +286,6 @@ simplebus_setup_intr(device_t bus, device_t child, struct resource *res,
enum intr_polarity pol;
int error, rid;
- if (device_get_parent(child) != bus)
- return (ECHILD);
-
di = device_get_ivars(child);
if (di == NULL)
return (ENXIO);
OpenPOWER on IntegriCloud