staging: unisys: Add the bus device to the visor device list.
commit4abce83dca116e2d0b49e1601bff2983e6cf0491
authorDavid Kershner <david.kershner@unisys.com>
Thu, 4 Jun 2015 13:22:49 +0000 (4 09:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:36:44 +0000 (8 13:36 -0700)
tree65f24dc4f67c275f3bafa28e2b156ba8a6b4eaa8
parent04dacacc14b4d60d58725c14f066a052cee6ff02
staging: unisys: Add the bus device to the visor device list.

When the bus device was created the list_all variables were not
being initialized. When the CONTROLVM_BUS_CONFIGURE message
was being sent, it was failing to find the bus and produced a
panic. Initialize the bus_info->list_all variable by doing a
INIT_LIST_HEAD.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c