Author: emaste Date: Thu Apr 4 19:59:31 2019 New Revision: 345889 URL: https://svnweb.freebsd.org/changeset/base/345889
Log: if_muge: use NULL not 0 for DRIVER_MODULE pointer args Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/usb/net/if_muge.c Modified: head/sys/dev/usb/net/if_muge.c ============================================================================== --- head/sys/dev/usb/net/if_muge.c Thu Apr 4 19:01:13 2019 (r345888) +++ head/sys/dev/usb/net/if_muge.c Thu Apr 4 19:59:31 2019 (r345889) @@ -2310,8 +2310,8 @@ static driver_t muge_driver = { static devclass_t muge_devclass; -DRIVER_MODULE(muge, uhub, muge_driver, muge_devclass, NULL, 0); -DRIVER_MODULE(miibus, muge, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(muge, uhub, muge_driver, muge_devclass, NULL, NULL); +DRIVER_MODULE(miibus, muge, miibus_driver, miibus_devclass, NULL, NULL); MODULE_DEPEND(muge, uether, 1, 1, 1); MODULE_DEPEND(muge, usb, 1, 1, 1); MODULE_DEPEND(muge, ether, 1, 1, 1); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"