svn commit: r254161 - stable/9/sys/dev/scc
Marius Strobl
marius at FreeBSD.org
Fri Aug 9 21:01:43 UTC 2013
Author: marius
Date: Fri Aug 9 21:01:41 2013
New Revision: 254161
URL: http://svnweb.freebsd.org/changeset/base/254161
Log:
MFC: r253900
- Use NULL instead of 0 for pointers.
- Remove unnecessary __RMAN_RESOURCE_VISIBLE.
Modified:
stable/9/sys/dev/scc/scc_bfe_ebus.c
stable/9/sys/dev/scc/scc_bfe_macio.c
stable/9/sys/dev/scc/scc_bfe_quicc.c
stable/9/sys/dev/scc/scc_bfe_sbus.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/scc/scc_bfe_ebus.c
==============================================================================
--- stable/9/sys/dev/scc/scc_bfe_ebus.c Fri Aug 9 20:58:06 2013 (r254160)
+++ stable/9/sys/dev/scc/scc_bfe_ebus.c Fri Aug 9 21:01:41 2013 (r254161)
@@ -94,4 +94,4 @@ static driver_t scc_ebus_driver = {
sizeof(struct scc_softc),
};
-DRIVER_MODULE(scc, ebus, scc_ebus_driver, scc_devclass, 0, 0);
+DRIVER_MODULE(scc, ebus, scc_ebus_driver, scc_devclass, NULL, NULL);
Modified: stable/9/sys/dev/scc/scc_bfe_macio.c
==============================================================================
--- stable/9/sys/dev/scc/scc_bfe_macio.c Fri Aug 9 20:58:06 2013 (r254160)
+++ stable/9/sys/dev/scc/scc_bfe_macio.c Fri Aug 9 21:01:41 2013 (r254161)
@@ -90,4 +90,4 @@ static driver_t scc_macio_driver = {
sizeof(struct scc_softc),
};
-DRIVER_MODULE(scc, macio, scc_macio_driver, scc_devclass, 0, 0);
+DRIVER_MODULE(scc, macio, scc_macio_driver, scc_devclass, NULL, NULL);
Modified: stable/9/sys/dev/scc/scc_bfe_quicc.c
==============================================================================
--- stable/9/sys/dev/scc/scc_bfe_quicc.c Fri Aug 9 20:58:06 2013 (r254160)
+++ stable/9/sys/dev/scc/scc_bfe_quicc.c Fri Aug 9 21:01:41 2013 (r254161)
@@ -27,8 +27,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#define __RMAN_RESOURCE_VISIBLE
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
@@ -98,4 +96,4 @@ static driver_t scc_quicc_driver = {
sizeof(struct scc_softc),
};
-DRIVER_MODULE(scc, quicc, scc_quicc_driver, scc_devclass, 0, 0);
+DRIVER_MODULE(scc, quicc, scc_quicc_driver, scc_devclass, NULL, NULL);
Modified: stable/9/sys/dev/scc/scc_bfe_sbus.c
==============================================================================
--- stable/9/sys/dev/scc/scc_bfe_sbus.c Fri Aug 9 20:58:06 2013 (r254160)
+++ stable/9/sys/dev/scc/scc_bfe_sbus.c Fri Aug 9 21:01:41 2013 (r254161)
@@ -90,5 +90,5 @@ static driver_t scc_sbus_driver = {
sizeof(struct scc_softc),
};
-DRIVER_MODULE(scc, fhc, scc_sbus_driver, scc_devclass, 0, 0);
-DRIVER_MODULE(scc, sbus, scc_sbus_driver, scc_devclass, 0, 0);
+DRIVER_MODULE(scc, fhc, scc_sbus_driver, scc_devclass, NULL, NULL);
+DRIVER_MODULE(scc, sbus, scc_sbus_driver, scc_devclass, NULL, NULL);
More information about the svn-src-stable-9
mailing list