summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/ppi.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
committerphk <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
commitdf397dedeab80f98300da9e5999d17a57c01b19f (patch)
treec4705f5f800de96d25d8356b2711c664dabcd41e /sys/dev/ppbus/ppi.c
parentab77c85da2c48c6a8b74ed533d4b739b5afeb405 (diff)
downloadFreeBSD-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/ppbus/ppi.c')
-rw-r--r--sys/dev/ppbus/ppi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ppbus/ppi.c b/sys/dev/ppbus/ppi.c
index bccccf8..c2783a6 100644
--- a/sys/dev/ppbus/ppi.c
+++ b/sys/dev/ppbus/ppi.c
@@ -90,7 +90,6 @@ static d_ioctl_t ppiioctl;
static d_write_t ppiwrite;
static d_read_t ppiread;
-#define CDEV_MAJOR 82
static struct cdevsw ppi_cdevsw = {
.d_open = ppiopen,
.d_close = ppiclose,
@@ -98,7 +97,6 @@ static struct cdevsw ppi_cdevsw = {
.d_write = ppiwrite,
.d_ioctl = ppiioctl,
.d_name = "ppi",
- .d_maj = CDEV_MAJOR,
};
#ifdef PERIPH_1284
OpenPOWER on IntegriCloud