]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: unisys: add acpi pnp driver
authorPrarit Bhargava <prarit@redhat.com>
Tue, 5 May 2015 22:37:02 +0000 (18:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 13:27:31 +0000 (15:27 +0200)
commit55c67dcaac7891887ad0a077c28b709be2abcb49
tree46b96f9ebc5b22a552c148a6f0a6e15945a1375d
parent779d0752bc53aebb12a38eb2bcc696c5f12ad4d6
staging: unisys: add acpi pnp driver

According to Unisys, another OS detects the PNP0A07 as the auto load
device.  We can also do this in the linux kernel by simply converting the
driver over to the ACPI driver model.

Notes: This changes the usage of __init and it had to be removed from some
functions to avoid a !__init function calling an __init function.
Additionally I also cleaned up the headers in visorchipset.c since I was
adding a header file.

Signed-off-by: Prarit Bhargava <prarit@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
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c