diff options
Diffstat (limited to 'share/examples/kld/cdev/module/cdev.h')
-rw-r--r-- | share/examples/kld/cdev/module/cdev.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/share/examples/kld/cdev/module/cdev.h b/share/examples/kld/cdev/module/cdev.h index 34c8235..88b3cb9 100644 --- a/share/examples/kld/cdev/module/cdev.h +++ b/share/examples/kld/cdev/module/cdev.h @@ -70,29 +70,8 @@ #ifndef __CDEV_H_ #define __CDEV_H_ -#include <sys/conf.h> - d_open_t mydev_open; d_close_t mydev_close; d_ioctl_t mydev_ioctl; -#define CDEV_MAJOR 32 - -static struct cdevsw my_devsw = { - mydev_open, - mydev_close, - noread, - nowrite, - mydev_ioctl, - nostop, - noreset, - nodevtotty, - NULL, - nommap, - NULL, - "cdev", - NULL, - CDEV_MAJOR -}; - #endif |