diff options
author | phk <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
commit | df397dedeab80f98300da9e5999d17a57c01b19f (patch) | |
tree | c4705f5f800de96d25d8356b2711c664dabcd41e /sys/dev/joy | |
parent | ab77c85da2c48c6a8b74ed533d4b739b5afeb405 (diff) | |
download | FreeBSD-src-df397dedeab80f98300da9e5999d17a57c01b19f.zip FreeBSD-src-df397dedeab80f98300da9e5999d17a57c01b19f.tar.gz |
Device megapatch 1/6:
Free approx 86 major numbers with a mostly automatically generated patch.
A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
Diffstat (limited to 'sys/dev/joy')
-rw-r--r-- | sys/dev/joy/joy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/joy/joy.c b/sys/dev/joy/joy.c index 9f6ff51..2ef286b 100644 --- a/sys/dev/joy/joy.c +++ b/sys/dev/joy/joy.c @@ -63,7 +63,6 @@ __FBSDID("$FreeBSD$"); #define JOY_SOFTC(unit) (struct joy_softc *) \ devclass_get_softc(joy_devclass,(unit)) -#define CDEV_MAJOR 51 static d_open_t joyopen; static d_close_t joyclose; static d_read_t joyread; @@ -75,7 +74,6 @@ static struct cdevsw joy_cdevsw = { .d_read = joyread, .d_ioctl = joyioctl, .d_name = "joy", - .d_maj = CDEV_MAJOR, }; devclass_t joy_devclass; |