aboutsummaryrefslogtreecommitdiff
path: root/sys/isa/psm.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
commitc9c7976f7ffdd0ed81e12d8930651a9a858defa1 (patch)
treec4705f5f800de96d25d8356b2711c664dabcd41e /sys/isa/psm.c
parent7563a29b8566c3c862a995022e62a54b6c3faa6b (diff)
downloadsrc-c9c7976f7ffdd0ed81e12d8930651a9a858defa1.tar.gz
src-c9c7976f7ffdd0ed81e12d8930651a9a858defa1.zip
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.
Notes
Notes: svn path=/head/; revision=126076
Diffstat (limited to 'sys/isa/psm.c')
-rw-r--r--sys/isa/psm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/isa/psm.c b/sys/isa/psm.c
index 4b1277632024..e886e8cc9e4b 100644
--- a/sys/isa/psm.c
+++ b/sys/isa/psm.c
@@ -346,7 +346,6 @@ static driver_t psm_driver = {
sizeof(struct psm_softc),
};
-#define CDEV_MAJOR 21
static struct cdevsw psm_cdevsw = {
.d_open = psmopen,
@@ -355,7 +354,6 @@ static struct cdevsw psm_cdevsw = {
.d_ioctl = psmioctl,
.d_poll = psmpoll,
.d_name = PSM_DRIVER_NAME,
- .d_maj = CDEV_MAJOR,
};
/* debug message level */