Define MAJOR_AUTO as zero, which means that leaving out an initialization

of d_maj means "allocate major number automatically".

Keep the definition of MAJOR_AUTO to make life easier for cross-branch
source maintainers.
This commit is contained in:
Poul-Henning Kamp 2003-03-09 10:29:20 +00:00
parent 06a8bb906c
commit 441931b53c
2 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ dumper_t nodump;
#define NUMCDEVSW 256
#define MAJOR_AUTO -1 /* XXX: Not GM */
#define MAJOR_AUTO 0 /* XXX: Not GM */
/*
* nopsize is little used, so not worth having dummy functions for.

View File

@ -272,7 +272,7 @@ dumper_t nodump;
#define NUMCDEVSW 256
#define MAJOR_AUTO -1 /* XXX: Not GM */
#define MAJOR_AUTO 0 /* XXX: Not GM */
/*
* nopsize is little used, so not worth having dummy functions for.