From 37460ffce45c9de51a3f73284f4503c8b5f99d0e Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sun, 3 Jul 2011 13:35:48 -0400 Subject: [PATCH] drivers/char: Add module.h to those who were using it implicitly A pending cleanup will mean that module.h won't be implicitly everywhere anymore. Make sure the modular drivers in char are actually calling out for explicitly in advance. Signed-off-by: Paul Gortmaker --- drivers/char/hw_random/virtio-rng.c | 1 + drivers/char/virtio_console.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c index 75f1cbd61c17..fd699ccecf5b 100644 --- a/drivers/char/hw_random/virtio-rng.c +++ b/drivers/char/hw_random/virtio-rng.c @@ -23,6 +23,7 @@ #include #include #include +#include static struct virtqueue *vq; static unsigned int data_avail; diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index fb68b1295373..97044319bc7b 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -32,6 +32,7 @@ #include #include #include +#include #include "../tty/hvc/hvc_console.h" /* -- 2.39.5