]> git.baikalelectronics.ru Git - kernel.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)
commit2bb27aab6cc595f9344714d2fbe1f25c6ee3b825
tree46b96f9ebc5b22a552c148a6f0a6e15945a1375d
parentceb3bc449efd5d648487013b22f5634cd1bd2f41
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