Ver Fonte

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>
David S. Miller há 15 anos atrás
pai
commit
1ebed71ae2
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/net/macvtap.c

+ 1 - 1
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;