Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2019 19:59:32 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345889 - head/sys/dev/usb/net
Message-ID:  <201904041959.x34JxWp3013702@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904041959.x34JxWp3013702>