From c567467af2c4ab3c80dbecf206511c7678db3b28 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Mon, 29 Sep 2003 14:10:04 +0000 Subject: [PATCH] Eliminate the use of a statically assign major number for the aac device. --- sys/dev/aac/aac.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index 9389511a2e86..2abee315604b 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -180,15 +180,12 @@ static int aac_getnext_aif(struct aac_softc *sc, caddr_t arg); static int aac_return_aif(struct aac_softc *sc, caddr_t uptr); static int aac_query_disk(struct aac_softc *sc, caddr_t uptr); -#define AAC_CDEV_MAJOR 150 - static struct cdevsw aac_cdevsw = { .d_open = aac_open, .d_close = aac_close, .d_ioctl = aac_ioctl, .d_poll = aac_poll, .d_name = "aac", - .d_maj = AAC_CDEV_MAJOR, }; MALLOC_DEFINE(M_AACBUF, "aacbuf", "Buffers for the AAC driver");