aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macvtap.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-07-10 22:25:50 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-10 22:25:50 -0400
commit1ebed71ae23b0b3c68d2a03e8e1b421efb7f35b0 (patch)
treeb54123c1ad16c0f4ff7a450cdbc672f05f2d3be6 /drivers/net/macvtap.c
parent132ff00a0fdea43708639d84ab3b42bb106410d7 (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.c2
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 */
61static unsigned int macvtap_major; 61static dev_t macvtap_major;
62#define MACVTAP_NUM_DEVS 65536 62#define MACVTAP_NUM_DEVS 65536
63static struct class *macvtap_class; 63static struct class *macvtap_class;
64static struct cdev macvtap_cdev; 64static struct cdev macvtap_cdev;