Make uart_bus_fdt a decendant of ofwbus

This will allow to attach UART drivers lying directly on the root node
instead of simple-bus compatible bus only.

Obtained from:   Semihalf
Sponsored by:    The FreeBSD Foundation
This commit is contained in:
Zbigniew Bodek 2014-11-12 21:41:15 +00:00
parent 17d2ee0132
commit bf39c5e8d5

View file

@ -157,3 +157,4 @@ uart_fdt_probe(device_t dev)
}
DRIVER_MODULE(uart, simplebus, uart_fdt_driver, uart_devclass, 0, 0);
DRIVER_MODULE(uart, ofwbus, uart_fdt_driver, uart_devclass, 0, 0);