summaryrefslogtreecommitdiffstats
path: root/sys/dev/pcf
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2004-06-10 21:53:04 +0000
committermarius <marius@FreeBSD.org>2004-06-10 21:53:04 +0000
commit47f9af4f1edbd27a39f83a59c4889f4155e5e4ec (patch)
tree59f9a37a8215a30f4ddbeb2d560659e670c946ff /sys/dev/pcf
parent88930e1ca70f6991045c93f91b610bcb362c1a45 (diff)
downloadFreeBSD-src-47f9af4f1edbd27a39f83a59c4889f4155e5e4ec.zip
FreeBSD-src-47f9af4f1edbd27a39f83a59c4889f4155e5e4ec.tar.gz
- Add missing <sys/module.h>.
- Use "envctrl" as the name when registering this module rather than "pcf"; we can't have "pcf" as the name for all pcf(4) front-ends or we would get conflicts. OK'ed by: joerg
Diffstat (limited to 'sys/dev/pcf')
-rw-r--r--sys/dev/pcf/envctrl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pcf/envctrl.c b/sys/dev/pcf/envctrl.c
index 8126924..b0fb96d 100644
--- a/sys/dev/pcf/envctrl.c
+++ b/sys/dev/pcf/envctrl.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/module.h>
#include <sys/resource.h>
#include <sys/uio.h>
@@ -191,6 +192,6 @@ envctrl_detach(device_t dev)
return (0);
}
-DRIVER_MODULE(pcf, ebus, envctrl_driver, envctrl_devclass, 0, 0);
-MODULE_DEPEND(pcf, iicbus, PCF_MINVER, PCF_PREFVER, PCF_MAXVER);
-MODULE_VERSION(pcf, PCF_MODVER);
+DRIVER_MODULE(envctrl, ebus, envctrl_driver, envctrl_devclass, 0, 0);
+MODULE_DEPEND(envctrl, iicbus, PCF_MINVER, PCF_PREFVER, PCF_MAXVER);
+MODULE_VERSION(envctrl, PCF_MODVER);
OpenPOWER on IntegriCloud