mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Use DEVICE_MODULE() directly instead of DEV_DRIVER_MODULE. psm.c uses
make_dev() already.
This commit is contained in:
parent
b09ce13f07
commit
1faa5a84a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52997
@ -2467,6 +2467,6 @@ psmresume(void *dummy)
|
||||
}
|
||||
#endif /* PSM_HOOKAPM */
|
||||
|
||||
DEV_DRIVER_MODULE(psm, atkbdc, psm_driver, psm_devclass, psm_cdevsw, 0, 0);
|
||||
DRIVER_MODULE(psm, atkbdc, psm_driver, psm_devclass, 0, 0);
|
||||
|
||||
#endif /* NPSM > 0 */
|
||||
|
@ -2467,6 +2467,6 @@ psmresume(void *dummy)
|
||||
}
|
||||
#endif /* PSM_HOOKAPM */
|
||||
|
||||
DEV_DRIVER_MODULE(psm, atkbdc, psm_driver, psm_devclass, psm_cdevsw, 0, 0);
|
||||
DRIVER_MODULE(psm, atkbdc, psm_driver, psm_devclass, 0, 0);
|
||||
|
||||
#endif /* NPSM > 0 */
|
||||
|
Loading…
Reference in New Issue
Block a user