aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r--include/linux/miscdevice.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index 09c2300ddb3..c309b1ecdc1 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -1,8 +1,7 @@
1#ifndef _LINUX_MISCDEVICE_H 1#ifndef _LINUX_MISCDEVICE_H
2#define _LINUX_MISCDEVICE_H 2#define _LINUX_MISCDEVICE_H
3#include <linux/module.h>
3#include <linux/major.h> 4#include <linux/major.h>
4#include <linux/list.h>
5#include <linux/types.h>
6 5
7/* 6/*
8 * These allocations are managed by device@lanana.org. If you use an 7 * These allocations are managed by device@lanana.org. If you use an
@@ -34,9 +33,7 @@
34#define MWAVE_MINOR 219 /* ACP/Mwave Modem */ 33#define MWAVE_MINOR 219 /* ACP/Mwave Modem */
35#define MPT_MINOR 220 34#define MPT_MINOR 220
36#define MPT2SAS_MINOR 221 35#define MPT2SAS_MINOR 221
37#define MPT3SAS_MINOR 222
38#define UINPUT_MINOR 223 36#define UINPUT_MINOR 223
39#define MISC_MCELOG_MINOR 227
40#define HPET_MINOR 228 37#define HPET_MINOR 228
41#define FUSE_MINOR 229 38#define FUSE_MINOR 229
42#define KVM_MINOR 232 39#define KVM_MINOR 232
@@ -44,7 +41,6 @@
44#define AUTOFS_MINOR 235 41#define AUTOFS_MINOR 235
45#define MAPPER_CTRL_MINOR 236 42#define MAPPER_CTRL_MINOR 236
46#define LOOP_CTRL_MINOR 237 43#define LOOP_CTRL_MINOR 237
47#define VHOST_NET_MINOR 238
48#define MISC_DYNAMIC_MINOR 255 44#define MISC_DYNAMIC_MINOR 255
49 45
50struct device; 46struct device;
@@ -57,7 +53,7 @@ struct miscdevice {
57 struct device *parent; 53 struct device *parent;
58 struct device *this_device; 54 struct device *this_device;
59 const char *nodename; 55 const char *nodename;
60 umode_t mode; 56 mode_t mode;
61}; 57};
62 58
63extern int misc_register(struct miscdevice * misc); 59extern int misc_register(struct miscdevice * misc);