aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-10 17:21:38 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-10 17:21:38 +0000
commit725fda594f83fd027c42db4c394db963548f5e92 (patch)
tree214b2edb338779f1adc6ea47c80d25fbe980ffe5
parentc46fd018530f48f4e1eef0a331da69ad74298946 (diff)
downloadsrc-725fda594f83fd027c42db4c394db963548f5e92.tar.gz
src-725fda594f83fd027c42db4c394db963548f5e92.zip
powermac_nvram: Remove unused devclass argument to DRIVER_MODULE.
-rw-r--r--sys/dev/powermac_nvram/powermac_nvram.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/powermac_nvram/powermac_nvram.c b/sys/dev/powermac_nvram/powermac_nvram.c
index 7c6c4d2bc8a1..7913437bd1fc 100644
--- a/sys/dev/powermac_nvram/powermac_nvram.c
+++ b/sys/dev/powermac_nvram/powermac_nvram.c
@@ -85,9 +85,7 @@ static driver_t powermac_nvram_driver = {
sizeof(struct powermac_nvram_softc)
};
-static devclass_t powermac_nvram_devclass;
-
-DRIVER_MODULE(powermac_nvram, ofwbus, powermac_nvram_driver, powermac_nvram_devclass, 0, 0);
+DRIVER_MODULE(powermac_nvram, ofwbus, powermac_nvram_driver, 0, 0);
/*
* Cdev methods.