aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/net
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-04-04 19:59:31 +0000
committerEd Maste <emaste@FreeBSD.org>2019-04-04 19:59:31 +0000
commitfea616de3e2351b008a8bbb669889ce0da4cf481 (patch)
tree3b67243bbaee2fa086e97e906d1a792417fe54f4 /sys/dev/usb/net
parent6c1c6ae53768685c53955cd0d120a827479e7dc7 (diff)
downloadsrc-fea616de3e2351b008a8bbb669889ce0da4cf481.tar.gz
src-fea616de3e2351b008a8bbb669889ce0da4cf481.zip
if_muge: use NULL not 0 for DRIVER_MODULE pointer args
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=345889
Diffstat (limited to 'sys/dev/usb/net')
-rw-r--r--sys/dev/usb/net/if_muge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/net/if_muge.c b/sys/dev/usb/net/if_muge.c
index 6909cabffb5e..4a958a6481f3 100644
--- a/sys/dev/usb/net/if_muge.c
+++ b/sys/dev/usb/net/if_muge.c
@@ -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);