diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
| commit | c9c7976f7ffdd0ed81e12d8930651a9a858defa1 (patch) | |
| tree | c4705f5f800de96d25d8356b2711c664dabcd41e /sys/dev/syscons | |
| parent | 7563a29b8566c3c862a995022e62a54b6c3faa6b (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/sysmouse.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/syscons/sysmouse.c b/sys/dev/syscons/sysmouse.c index 738431002053..a7cff80c6bfe 100644 --- a/sys/dev/syscons/sysmouse.c +++ b/sys/dev/syscons/sysmouse.c @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #ifndef SC_NO_SYSMOUSE -#define CDEV_MAJOR 12 /* major number, shared with syscons */ #define SC_MOUSE 128 /* minor number */ static d_open_t smopen; @@ -56,7 +55,6 @@ static struct cdevsw sm_cdevsw = { .d_ioctl = smioctl, .d_poll = ttypoll, .d_name = "sysmouse", - .d_maj = CDEV_MAJOR, .d_flags = D_TTY, }; @@ -255,8 +253,7 @@ sm_attach_mouse(void *unused) /* sysmouse doesn't have scr_stat */ } -SYSINIT(sysmouse, SI_SUB_DRIVERS, SI_ORDER_MIDDLE + CDEV_MAJOR, - sm_attach_mouse, NULL) +SYSINIT(sysmouse, SI_SUB_DRIVERS, SI_ORDER_MIDDLE, sm_attach_mouse, NULL) int sysmouse_event(mouse_info_t *info) |
