forked from Minki/linux
macvtap: Use dev_t for macvtap_major.
Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
132ff00a0f
commit
1ebed71ae2
@ -58,7 +58,7 @@ static struct proto macvtap_proto = {
|
|||||||
* only has one tap, the interface numbers assure that the
|
* only has one tap, the interface numbers assure that the
|
||||||
* device nodes are unique.
|
* device nodes are unique.
|
||||||
*/
|
*/
|
||||||
static unsigned int macvtap_major;
|
static dev_t macvtap_major;
|
||||||
#define MACVTAP_NUM_DEVS 65536
|
#define MACVTAP_NUM_DEVS 65536
|
||||||
static struct class *macvtap_class;
|
static struct class *macvtap_class;
|
||||||
static struct cdev macvtap_cdev;
|
static struct cdev macvtap_cdev;
|
||||||
|
Loading…
Reference in New Issue
Block a user