summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorbus_private.h
diff options
context:
space:
mode:
authorPrarit Bhargava2015-05-06 00:37:02 +0200
committerGreg Kroah-Hartman2015-05-08 15:27:31 +0200
commit55c67dcaac7891887ad0a077c28b709be2abcb49 (patch)
tree46b96f9ebc5b22a552c148a6f0a6e15945a1375d /drivers/staging/unisys/visorbus/visorbus_private.h
parentstaging: unisys: remove BOOL,TRUE,FALSE definitions (diff)
downloadkernel-qcow2-linux-55c67dcaac7891887ad0a077c28b709be2abcb49.tar.gz
kernel-qcow2-linux-55c67dcaac7891887ad0a077c28b709be2abcb49.tar.xz
kernel-qcow2-linux-55c67dcaac7891887ad0a077c28b709be2abcb49.zip
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>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorbus_private.h')
-rw-r--r--drivers/staging/unisys/visorbus/visorbus_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorbus/visorbus_private.h b/drivers/staging/unisys/visorbus/visorbus_private.h
index f9a5e015e21d..1153c99e813f 100644
--- a/drivers/staging/unisys/visorbus/visorbus_private.h
+++ b/drivers/staging/unisys/visorbus/visorbus_private.h
@@ -155,6 +155,6 @@ bool visorchipset_get_device_info(u32 bus_no, u32 dev_no,
bool visorchipset_set_bus_context(u32 bus_no, void *context);
/* visorbus init and exit functions */
-int __init visorbus_init(void);
+int visorbus_init(void);
void visorbus_exit(void);
#endif