From: David S. Miller Date: Sun, 11 Jul 2010 02:25:50 +0000 (-0700) Subject: macvtap: Use dev_t for macvtap_major. X-Git-Tag: v2.6.36-rc1~571^2~284 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ebed71ae23b0b3c68d2a03e8e1b421efb7f35b0;p=platform%2Fkernel%2Flinux-3.10.git macvtap: Use dev_t for macvtap_major. Reported-by: "Robert P. J. Day" Signed-off-by: David S. Miller --- diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index a8a94e2..2b4d59b 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;