From df397dedeab80f98300da9e5999d17a57c01b19f Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 21 Feb 2004 19:42:58 +0000 Subject: 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. --- sys/dev/agp/agp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/agp') diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c index 2ae2b72..6f09660 100644 --- a/sys/dev/agp/agp.c +++ b/sys/dev/agp/agp.c @@ -63,7 +63,6 @@ MODULE_VERSION(agp, 1); MALLOC_DEFINE(M_AGP, "agp", "AGP data structures"); -#define CDEV_MAJOR 148 /* agp_drv.c */ static d_open_t agp_open; static d_close_t agp_close; @@ -76,7 +75,6 @@ static struct cdevsw agp_cdevsw = { .d_ioctl = agp_ioctl, .d_mmap = agp_mmap, .d_name = "agp", - .d_maj = CDEV_MAJOR, }; static devclass_t agp_devclass; -- cgit v1.1