]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/macvtap.c
macvtap: Use dev_t for macvtap_major.
[net-next-2.6.git] / drivers / net / macvtap.c
index a8a94e2f6ddcfc04917ab2ec39305ac26e69ecf2..2b4d59b58b2cf0a30d648977df77cc4afdc442f9 100644 (file)
@@ -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;