diff options
author | David S. Miller <davem@davemloft.net> | 2010-07-10 19:25:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-10 19:25:50 -0700 |
commit | 1ebed71ae23b0b3c68d2a03e8e1b421efb7f35b0 (patch) | |
tree | b54123c1ad16c0f4ff7a450cdbc672f05f2d3be6 /drivers/net/macvtap.c | |
parent | 132ff00a0fdea43708639d84ab3b42bb106410d7 (diff) |
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>
Diffstat (limited to 'drivers/net/macvtap.c')
-rw-r--r-- | drivers/net/macvtap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index a8a94e2f6ddc..2b4d59b58b2c 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -58,7 +58,7 @@ static struct proto macvtap_proto = { * only has one tap, the interface numbers assure that the * device nodes are unique. */ -static unsigned int macvtap_major; +static dev_t macvtap_major; #define MACVTAP_NUM_DEVS 65536 static struct class *macvtap_class; static struct cdev macvtap_cdev; |