Use EARLY_DRIVER_MODULE() for ti_scm driver to be attached before

am335x_prcm driver which uses it. Used BUS_PASS_BUS is a quick pick
for now and may be revised when other drivers start using multipass
feature.

This is needed after an update of Linux dts files done in r295436.
This commit is contained in:
skra 2016-02-16 13:40:23 +00:00
parent d8730edee3
commit 05bc01be32

View File

@ -170,4 +170,5 @@ static driver_t ti_scm_driver = {
static devclass_t ti_scm_devclass;
DRIVER_MODULE(ti_scm, simplebus, ti_scm_driver, ti_scm_devclass, 0, 0);
EARLY_DRIVER_MODULE(ti_scm, simplebus, ti_scm_driver, ti_scm_devclass, 0, 0,
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);