mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
intpm: make sure to register smbus driver before intpm driver
Otherwise we can fail to create an smbus child of intpm. MFC after: 1 week
This commit is contained in:
parent
e0c6c1d1fd
commit
19afdc91b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305606
@ -924,7 +924,8 @@ static driver_t intsmb_driver = {
|
||||
sizeof(struct intsmb_softc),
|
||||
};
|
||||
|
||||
DRIVER_MODULE(intsmb, pci, intsmb_driver, intsmb_devclass, 0, 0);
|
||||
DRIVER_MODULE_ORDERED(intsmb, pci, intsmb_driver, intsmb_devclass, 0, 0,
|
||||
SI_ORDER_ANY);
|
||||
DRIVER_MODULE(smbus, intsmb, smbus_driver, smbus_devclass, 0, 0);
|
||||
MODULE_DEPEND(intsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
|
||||
MODULE_VERSION(intsmb, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user