summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c2
-rw-r--r--sys/dev/cy/cy_isa.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 203ed94..4351a30 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -385,7 +385,6 @@ static d_close_t sioclose;
static d_write_t siowrite;
static d_ioctl_t sioioctl;
-#define CDEV_MAJOR 48
static struct cdevsw sio_cdevsw = {
.d_open = sioopen,
.d_close = sioclose,
@@ -394,7 +393,6 @@ static struct cdevsw sio_cdevsw = {
.d_ioctl = sioioctl,
.d_poll = ttypoll,
.d_name = driver_name,
- .d_maj = CDEV_MAJOR,
.d_flags = D_TTY,
.d_kqfilter = ttykqfilter,
};
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 203ed94..4351a30 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -385,7 +385,6 @@ static d_close_t sioclose;
static d_write_t siowrite;
static d_ioctl_t sioioctl;
-#define CDEV_MAJOR 48
static struct cdevsw sio_cdevsw = {
.d_open = sioopen,
.d_close = sioclose,
@@ -394,7 +393,6 @@ static struct cdevsw sio_cdevsw = {
.d_ioctl = sioioctl,
.d_poll = ttypoll,
.d_name = driver_name,
- .d_maj = CDEV_MAJOR,
.d_flags = D_TTY,
.d_kqfilter = ttykqfilter,
};
OpenPOWER on IntegriCloud