diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-01-11 14:30:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-13 13:12:23 -0500 |
commit | 7c7c7f01cc5e3e423120a4848a73dd5e4586f2f9 (patch) | |
tree | bdd15c5e435b1a380adbf5c4a7d05e7ef44d7403 /include/linux | |
parent | 252c3d84ed398b090ac2dace46fc6faa6cfaea99 (diff) |
vhost-net: add module alias (v2.1)
By adding some module aliases, programs (or users) won't have to explicitly
call modprobe. Vhost-net will always be available if built into the kernel.
It does require assigning a permanent minor number for depmod to work.
Also:
- use C99 style initialization.
- add missing entry in documentation for loop-control
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-By: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/miscdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 32085249e9cb..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 | ||
47 | struct device; | 48 | struct device; |