Ensure the clocks driver is attached before any drivers that need to enable

clocks in their attach().
This commit is contained in:
Ian Lepore 2017-08-10 19:42:30 +00:00
parent 3f0a9fe06c
commit c89cfb4377
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322373

View File

@ -465,8 +465,8 @@ static driver_t am335x_prcm_driver = {
static devclass_t am335x_prcm_devclass;
DRIVER_MODULE(am335x_prcm, simplebus, am335x_prcm_driver,
am335x_prcm_devclass, 0, 0);
EARLY_DRIVER_MODULE(am335x_prcm, simplebus, am335x_prcm_driver,
am335x_prcm_devclass, 0, 0, BUS_PASS_TIMER + BUS_PASS_ORDER_EARLY);
MODULE_VERSION(am335x_prcm, 1);
MODULE_DEPEND(am335x_prcm, ti_scm, 1, 1, 1);