diff options
author | ed <ed@FreeBSD.org> | 2012-01-19 09:51:07 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-01-19 09:51:07 +0000 |
commit | ea418e7d74ca6f7d3f1b25f6adc283124297c9d0 (patch) | |
tree | 52977cc2e3dd6d255c2f77c44c0ccd2b4616e6ef /share/man/man9/DEV_MODULE.9 | |
parent | c20448129b36056dbb4c37dd589d47f53db69c34 (diff) | |
download | FreeBSD-src-ea418e7d74ca6f7d3f1b25f6adc283124297c9d0.zip FreeBSD-src-ea418e7d74ca6f7d3f1b25f6adc283124297c9d0.tar.gz |
Remove remnants of dev_t.
These functions take a `struct cdev *' -- not a dev_t. Inside the
kernel, dev_t has the same use as in userspace, namely to store a device
identifier.
MFC after: 2 weeks
Diffstat (limited to 'share/man/man9/DEV_MODULE.9')
-rw-r--r-- | share/man/man9/DEV_MODULE.9 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/DEV_MODULE.9 b/share/man/man9/DEV_MODULE.9 index 13a81c1..28465b3 100644 --- a/share/man/man9/DEV_MODULE.9 +++ b/share/man/man9/DEV_MODULE.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 11, 2001 +.Dd January 19, 2012 .Dt DEV_MODULE 9 .Os .Sh NAME @@ -68,7 +68,7 @@ on load and to destroy it when it is unloaded using static struct cdevsw foo_devsw = { ... }; -static dev_t sdev; +static struct cdev *sdev; static int foo_load(module_t mod, int cmd, void *arg) |