diff options
author | avg <avg@FreeBSD.org> | 2016-09-21 16:29:15 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2016-09-21 16:29:15 +0000 |
commit | de9753e32559d501f47c0fa51ca09badde0fa886 (patch) | |
tree | 641454461c2e6dfa74ae3d03a70f89e881c03712 /sys/pci | |
parent | 6d60f1819aff9b87fef14033367da8de36123389 (diff) | |
download | FreeBSD-src-de9753e32559d501f47c0fa51ca09badde0fa886.zip FreeBSD-src-de9753e32559d501f47c0fa51ca09badde0fa886.tar.gz |
MFC r305606: intpm: make sure to register smbus driver before intpm driver
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/intpm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c index 3568cb9..92d7035 100644 --- a/sys/pci/intpm.c +++ b/sys/pci/intpm.c @@ -922,7 +922,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); |