summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2013-08-02 23:30:32 +0000
committermarius <marius@FreeBSD.org>2013-08-02 23:30:32 +0000
commit10867aa2847c2d537448c2e715559239244f25d4 (patch)
tree3a084126e6352bb8007b2f4f71b10a9074deef46 /sys/dev
parentea5d5d37a70d88d62d5d39cefd7fd982185a96e9 (diff)
downloadFreeBSD-src-10867aa2847c2d537448c2e715559239244f25d4.zip
FreeBSD-src-10867aa2847c2d537448c2e715559239244f25d4.tar.gz
- Use NULL instead of 0 for pointers.
- Remove unnecessary __RMAN_RESOURCE_VISIBLE.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/scc/scc_bfe_ebus.c2
-rw-r--r--sys/dev/scc/scc_bfe_macio.c2
-rw-r--r--sys/dev/scc/scc_bfe_quicc.c4
-rw-r--r--sys/dev/scc/scc_bfe_sbus.c4
4 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/scc/scc_bfe_ebus.c b/sys/dev/scc/scc_bfe_ebus.c
index 2b71a67..def832a 100644
--- a/sys/dev/scc/scc_bfe_ebus.c
+++ b/sys/dev/scc/scc_bfe_ebus.c
@@ -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);
diff --git a/sys/dev/scc/scc_bfe_macio.c b/sys/dev/scc/scc_bfe_macio.c
index 042788d..bdba908 100644
--- a/sys/dev/scc/scc_bfe_macio.c
+++ b/sys/dev/scc/scc_bfe_macio.c
@@ -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);
diff --git a/sys/dev/scc/scc_bfe_quicc.c b/sys/dev/scc/scc_bfe_quicc.c
index c7e97f3..d776e83 100644
--- a/sys/dev/scc/scc_bfe_quicc.c
+++ b/sys/dev/scc/scc_bfe_quicc.c
@@ -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);
diff --git a/sys/dev/scc/scc_bfe_sbus.c b/sys/dev/scc/scc_bfe_sbus.c
index ba6b25a..d776513 100644
--- a/sys/dev/scc/scc_bfe_sbus.c
+++ b/sys/dev/scc/scc_bfe_sbus.c
@@ -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);
OpenPOWER on IntegriCloud