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
06a8bb906c
commit
441931b53c
@ -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