projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
132ff00
)
macvtap: Use dev_t for macvtap_major.
author
David S. Miller
<davem@davemloft.net>
Sun, 11 Jul 2010 02:25:50 +0000
(19:25 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 11 Jul 2010 02:25:50 +0000
(19:25 -0700)
Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/macvtap.c
b/drivers/net/macvtap.c
index a8a94e2f6ddcfc04917ab2ec39305ac26e69ecf2..2b4d59b58b2cf0a30d648977df77cc4afdc442f9 100644
(file)
--- 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 in
t macvtap_major;
+static
dev_
t macvtap_major;
#define MACVTAP_NUM_DEVS 65536
static struct class *macvtap_class;
static struct cdev macvtap_cdev;