summaryrefslogtreecommitdiffstats
path: root/sys/i386/apm
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-11-08 07:44:26 +0000
committerpeter <peter@FreeBSD.org>1999-11-08 07:44:26 +0000
commita253f72fce91086bc61795b6c936aec2cfc42323 (patch)
tree260c3bf140914859e03542e26fa0c1e5e9ce2131 /sys/i386/apm
parent3c8d543dde9cb86bd96e0f4cd855d6aefc95e844 (diff)
downloadFreeBSD-src-a253f72fce91086bc61795b6c936aec2cfc42323.zip
FreeBSD-src-a253f72fce91086bc61795b6c936aec2cfc42323.tar.gz
Use DRIVER_MODULE(), apm.c already takes care of it's devices with
make_dev().
Diffstat (limited to 'sys/i386/apm')
-rw-r--r--sys/i386/apm/apm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c
index 9630f02..307b697 100644
--- a/sys/i386/apm/apm.c
+++ b/sys/i386/apm/apm.c
@@ -1373,4 +1373,4 @@ static driver_t apm_driver = {
static devclass_t apm_devclass;
-DEV_DRIVER_MODULE(apm, nexus, apm_driver, apm_devclass, apm_cdevsw, 0, 0);
+DRIVER_MODULE(apm, nexus, apm_driver, apm_devclass, 0, 0);
OpenPOWER on IntegriCloud