diff options
author | ray <ray@FreeBSD.org> | 2013-03-18 23:51:39 +0000 |
---|---|---|
committer | ray <ray@FreeBSD.org> | 2013-03-18 23:51:39 +0000 |
commit | 905fc9aeb70dcd374e387281c96ee9f885f25651 (patch) | |
tree | f7e59626e8c21d1a42212d0fbb0d4d94bbf568ae /sys/dev/fdt | |
parent | b893c0b25ff830052a49ac7c91eb5801eac0673b (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/dev/fdt/simplebus.c | 3 |
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); |