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:
parent
0d99ca7a9d
commit
3a6679ec74
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user