Commit b5a2c4f1 authored by Paul Gortmaker's avatar Paul Gortmaker

virtio: Add module.h to drivers/virtio users.

Up to now, the module.h header was as hard to keep out as
sunlight.  But we are cleaning that up.  Fix the virtio users
who simply expect module.h to be there in every C file.
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 39a0e33d
#include <linux/virtio.h> #include <linux/virtio.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/virtio_config.h> #include <linux/virtio_config.h>
#include <linux/module.h>
/* Unique numbering for virtio devices. */ /* Unique numbering for virtio devices. */
static unsigned int dev_index; static unsigned int dev_index;
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <linux/freezer.h> #include <linux/freezer.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/module.h>
struct virtio_balloon struct virtio_balloon
{ {
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/virtio_config.h> #include <linux/virtio_config.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/module.h>
/* virtio guest is communicating with a virtual "device" that actually runs on /* virtio guest is communicating with a virtual "device" that actually runs on
* a host processor. Memory barriers are used to control SMP effects. */ * a host processor. Memory barriers are used to control SMP effects. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment