vhost-net: add module alias (v2.1)
authorstephen hemminger <shemminger@vyatta.com>
Wed, 11 Jan 2012 19:30:38 +0000 (19:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jan 2012 18:12:23 +0000 (10:12 -0800)
commit7c7c7f01cc5e3e423120a4848a73dd5e4586f2f9
treebdd15c5e435b1a380adbf5c4a7d05e7ef44d7403
parent252c3d84ed398b090ac2dace46fc6faa6cfaea99
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>
Documentation/devices.txt
drivers/vhost/net.c
include/linux/miscdevice.h