staging: unisys: Prepare vbus_hdr_info to be public
authorDon Zickus <dzickus@redhat.com>
Mon, 1 Jun 2015 17:00:28 +0000 (13:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Jun 2015 05:22:49 +0000 (14:22 +0900)
commit7726f81357f9ddb55611995b1ec2e75abbd733a1
tree259143f57ee7c9d511ac0628ed5b8392f8a81454
parent0274b5aec1b30f594e2e5975b3bbf672565a6dd7
staging: unisys: Prepare vbus_hdr_info to be public

In order to remove bus_info, we need to migrate vbus_hdr_info into
the public namespace of visor_device.  Because the struct is private,
we use a void * to hide the contents.

As a result, we need to allocate vbus_hdr_info and manage it.

Also work around vbus_valid, as that variable will not be used
in the public namespace.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c