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>
This commit is contained in:
David Kershner 2017-09-27 13:14:29 -04:00 committed by Greg Kroah-Hartman
parent 7f91228d39
commit eb6eb1e14d
6 changed files with 6 additions and 2 deletions

View File

@ -28,8 +28,6 @@
#define __VISORBUS_H__
#include <linux/device.h>
#include <linux/module.h>
#include <linux/slab.h>
#include "channel.h"

View File

@ -14,6 +14,8 @@
*/
#include <linux/debugfs.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/uuid.h>
#include "visorbus.h"

View File

@ -20,6 +20,7 @@
#include <linux/uuid.h>
#include <linux/io.h>
#include <linux/slab.h>
#include "visorbus.h"
#include "visorbus_private.h"

View File

@ -17,6 +17,7 @@
#include <linux/debugfs.h>
#include <linux/kthread.h>
#include <linux/idr.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>

View File

@ -23,6 +23,7 @@
#include <linux/fb.h>
#include <linux/input.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/uuid.h>
#include "visorbus.h"

View File

@ -20,6 +20,7 @@
#include <linux/debugfs.h>
#include <linux/etherdevice.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/kthread.h>
#include <linux/skbuff.h>