]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: unisys: remove visorbus_type extern
authorDavid Kershner <david.kershner@unisys.com>
Wed, 27 Sep 2017 17:14:36 +0000 (13:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Sep 2017 09:17:14 +0000 (11:17 +0200)
commit69a4d1e758a6d7b0429ba648f9d663bc9436693e
tree101e5b89e127ab378d9b15a8262a0c84033116e1
parent6c073dabce18f600d9422f8921df8364bf850fff
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>
drivers/staging/unisys/include/visorbus.h
drivers/staging/unisys/visorbus/visorbus_main.c
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c