aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-01-31 09:13:14 -0500
committerTakashi Iwai <tiwai@suse.de>2012-01-31 09:13:14 -0500
commitea51e5040e24eefe44d70bc654a237ca1f0225b0 (patch)
treedf2e5922dcdfafae62a10d8cd97f98121064fc23 /include/linux/miscdevice.h
parent3422a47041b8cb8f14ac1e3926bcf711121df6dc (diff)
parent8dbd52daee38adaae4d5a674bcca837e694a4f4c (diff)
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r--include/linux/miscdevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index c41d7270c6c6..0549d2115507 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -42,6 +42,7 @@
42#define AUTOFS_MINOR 235 42#define AUTOFS_MINOR 235
43#define MAPPER_CTRL_MINOR 236 43#define MAPPER_CTRL_MINOR 236
44#define LOOP_CTRL_MINOR 237 44#define LOOP_CTRL_MINOR 237
45#define VHOST_NET_MINOR 238
45#define MISC_DYNAMIC_MINOR 255 46#define MISC_DYNAMIC_MINOR 255
46 47
47struct device; 48struct device;
@@ -54,7 +55,7 @@ struct miscdevice {
54 struct device *parent; 55 struct device *parent;
55 struct device *this_device; 56 struct device *this_device;
56 const char *nodename; 57 const char *nodename;
57 mode_t mode; 58 umode_t mode;
58}; 59};
59 60
60extern int misc_register(struct miscdevice * misc); 61extern int misc_register(struct miscdevice * misc);