summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorchannel.c
diff options
context:
space:
mode:
authorDavid Kershner2017-09-27 19:14:29 +0200
committerGreg Kroah-Hartman2017-09-28 11:17:14 +0200
commiteb6eb1e14d9900d39660d0313eb01791fcdaf2b3 (patch)
treed9d3e8bd4e50df49d74eba6c0d4b6331fd805692 /drivers/staging/unisys/visorbus/visorchannel.c
parentstaging: unisys: visorbus: to_visor_device/to_visor_driver move up (diff)
downloadkernel-qcow2-linux-eb6eb1e14d9900d39660d0313eb01791fcdaf2b3.tar.gz
kernel-qcow2-linux-eb6eb1e14d9900d39660d0313eb01791fcdaf2b3.tar.xz
kernel-qcow2-linux-eb6eb1e14d9900d39660d0313eb01791fcdaf2b3.zip
staging: unisys: only include a file where it is used.
The header file visorbus.h included several linux headers that were used by the source files that include it. Move the includes to the files that actually use them. Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchannel.c')
-rw-r--r--drivers/staging/unisys/visorbus/visorchannel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorchannel.c
index 44eab701291e..68cfd950e70e 100644
--- a/drivers/staging/unisys/visorbus/visorchannel.c
+++ b/drivers/staging/unisys/visorbus/visorchannel.c
@@ -20,6 +20,7 @@
#include <linux/uuid.h>
#include <linux/io.h>
+#include <linux/slab.h>
#include "visorbus.h"
#include "visorbus_private.h"