]> Pileus Git - ~andy/linux/commit
tools/virtio: move module license stub to module.h
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 8 Jul 2013 02:01:10 +0000 (11:31 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 9 Jul 2013 01:17:53 +0000 (10:47 +0930)
commit80390df8b263f1f6b7acb1df35a758736e3ec961
treecb845dcd5f680bc3e9cec15476817cfe8cbdc45f
parentc5610a5d7188b90fe0f927d2513bf684fb0bc427
tools/virtio: move module license stub to module.h

This fixes build for the vringh test:
[linux]$ make -C tools/virtio/
make: Entering directory `/home/mst/scm/linux/tools/virtio'
cc -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign
-fno-strict-overflow -fno-strict-aliasing -fno-common -MMD
-U_FORTIFY_SOURCE   -c -o vringh.o ../../drivers/vhost/vringh.c
../../drivers/vhost/vringh.c:1010:16: error: expected declaration
specifiers or ‘...’ before string constant

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/virtio/linux/module.h
tools/virtio/linux/virtio.h