summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2014-03-14 07:06:25 +0100
committerZhang Rui <rui.zhang@intel.com>2014-10-10 07:56:20 +0200
commit083bf668cb70e47b84db64856606e94beac87f01 (patch)
treeb48a83440e2b76c58af3ce172cd8575ba61637d4 /drivers/acpi
parentACPI: introduce ACPI int340x thermal scan handler (diff)
downloadlinux-083bf668cb70e47b84db64856606e94beac87f01.tar.xz
linux-083bf668cb70e47b84db64856606e94beac87f01.zip
ACPI: make acpi_create_platform_device() an external API
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpi_platform.c1
-rw-r--r--drivers/acpi/internal.h7
2 files changed, 1 insertions, 7 deletions
diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c
index 2bf9082f7523..a3c89a1bcf54 100644
--- a/drivers/acpi/acpi_platform.c
+++ b/drivers/acpi/acpi_platform.c
@@ -113,3 +113,4 @@ struct platform_device *acpi_create_platform_device(struct acpi_device *adev)
kfree(resources);
return pdev;
}
+EXPORT_SYMBOL_GPL(acpi_create_platform_device);
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h
index de47f9f746c9..f221d1eb594a 100644
--- a/drivers/acpi/internal.h
+++ b/drivers/acpi/internal.h
@@ -169,13 +169,6 @@ static inline void suspend_nvs_restore(void) {}
#endif
/*--------------------------------------------------------------------------
- Platform bus support
- -------------------------------------------------------------------------- */
-struct platform_device;
-
-struct platform_device *acpi_create_platform_device(struct acpi_device *adev);
-
-/*--------------------------------------------------------------------------
Video
-------------------------------------------------------------------------- */
#if defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE)