diff options
author | David S. Miller <davem@davemloft.net> | 2010-07-10 22:25:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-10 22:25:50 -0400 |
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 = { | |||
58 | * only has one tap, the interface numbers assure that the | 58 | * only has one tap, the interface numbers assure that the |
59 | * device nodes are unique. | 59 | * device nodes are unique. |
60 | */ | 60 | */ |
61 | static unsigned int macvtap_major; | 61 | static dev_t macvtap_major; |
62 | #define MACVTAP_NUM_DEVS 65536 | 62 | #define MACVTAP_NUM_DEVS 65536 |
63 | static struct class *macvtap_class; | 63 | static struct class *macvtap_class; |
64 | static struct cdev macvtap_cdev; | 64 | static struct cdev macvtap_cdev; |