aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-09 19:22:01 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-09 19:22:01 +0000
commitf3498d7b663aa896d0be43a62911638d36519eb6 (patch)
treee04457680b5a31ab8b2b0e0137aae4f63019fda8
parente739b0adf5f5d663102607043b3a9a511df34a83 (diff)
downloadsrc-f3498d7b663aa896d0be43a62911638d36519eb6.tar.gz
src-f3498d7b663aa896d0be43a62911638d36519eb6.zip
alpm: Remove unused devclass argument to DRIVER_MODULE.
-rw-r--r--sys/dev/alpm/alpm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/alpm/alpm.c b/sys/dev/alpm/alpm.c
index 8e41706c12a0..ae260f0bd7f8 100644
--- a/sys/dev/alpm/alpm.c
+++ b/sys/dev/alpm/alpm.c
@@ -627,8 +627,6 @@ error:
return (error);
}
-static devclass_t alpm_devclass;
-
static device_method_t alpm_methods[] = {
/* device interface */
DEVMETHOD(device_probe, alpm_probe),
@@ -655,7 +653,7 @@ static driver_t alpm_driver = {
sizeof(struct alpm_softc)
};
-DRIVER_MODULE(alpm, pci, alpm_driver, alpm_devclass, 0, 0);
+DRIVER_MODULE(alpm, pci, alpm_driver, 0, 0);
DRIVER_MODULE(smbus, alpm, smbus_driver, 0, 0);
MODULE_DEPEND(alpm, pci, 1, 1, 1);
MODULE_DEPEND(alpm, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);