diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-01-11 19:30:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-13 10:12:23 -0800 |
commit | 7c7c7f01cc5e3e423120a4848a73dd5e4586f2f9 (patch) | |
tree | bdd15c5e435b1a380adbf5c4a7d05e7ef44d7403 /include/linux/miscdevice.h | |
parent | 252c3d84ed398b090ac2dace46fc6faa6cfaea99 (diff) | |
download | linux-7c7c7f01cc5e3e423120a4848a73dd5e4586f2f9.tar.gz linux-7c7c7f01cc5e3e423120a4848a73dd5e4586f2f9.tar.bz2 linux-7c7c7f01cc5e3e423120a4848a73dd5e4586f2f9.zip |
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/miscdevice.h')
-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 @@ #define AUTOFS_MINOR 235 #define MAPPER_CTRL_MINOR 236 #define LOOP_CTRL_MINOR 237 +#define VHOST_NET_MINOR 238 #define MISC_DYNAMIC_MINOR 255 struct device; |