]> git.baikalelectronics.ru Git - kernel.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)
commit976f42f4a5e54827bf36a2347bc28bb488a745f8
tree101e5b89e127ab378d9b15a8262a0c84033116e1
parent2a538ea96a323986c8818cf4df9055ff26487afc
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