summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/visorbus.h
diff options
context:
space:
mode:
authorDavid Kershner <david.kershner@unisys.com>2017-09-27 13:14:36 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-28 11:17:14 +0200
commit69a4d1e758a6d7b0429ba648f9d663bc9436693e (patch)
tree101e5b89e127ab378d9b15a8262a0c84033116e1 /drivers/staging/unisys/include/visorbus.h
parent6c073dabce18f600d9422f8921df8364bf850fff (diff)
downloadop-kernel-dev-69a4d1e758a6d7b0429ba648f9d663bc9436693e.zip
op-kernel-dev-69a4d1e758a6d7b0429ba648f9d663bc9436693e.tar.gz
staging: unisys: remove visorbus_type extern
The variable visorbus_type could be contained to the visorbus_main.c file by moving the two functions that referenced it visorchipset.c. This allowed us to remove the incorrect extern from the include file visorbus.h. 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/include/visorbus.h')
-rw-r--r--drivers/staging/unisys/include/visorbus.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h
index 6f27e00..6d379e6 100644
--- a/drivers/staging/unisys/include/visorbus.h
+++ b/drivers/staging/unisys/include/visorbus.h
@@ -31,8 +31,6 @@
#include "channel.h"
-extern struct bus_type visorbus_type;
-
struct visorchipset_state {
u32 created:1;
u32 attached:1;
OpenPOWER on IntegriCloud