diff options
Diffstat (limited to 'drivers/acpi/glue.c')
-rw-r--r-- | drivers/acpi/glue.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c index 12b2acbaa116..c0d18b2145c1 100644 --- a/drivers/acpi/glue.c +++ b/drivers/acpi/glue.c | |||
@@ -149,6 +149,7 @@ struct acpi_device *acpi_find_child_device(struct acpi_device *parent, | |||
149 | } | 149 | } |
150 | return ret; | 150 | return ret; |
151 | } | 151 | } |
152 | EXPORT_SYMBOL_GPL(acpi_find_child_device); | ||
152 | 153 | ||
153 | acpi_handle acpi_get_child(acpi_handle handle, u64 addr) | 154 | acpi_handle acpi_get_child(acpi_handle handle, u64 addr) |
154 | { | 155 | { |
@@ -298,15 +299,6 @@ int acpi_unbind_one(struct device *dev) | |||
298 | } | 299 | } |
299 | EXPORT_SYMBOL_GPL(acpi_unbind_one); | 300 | EXPORT_SYMBOL_GPL(acpi_unbind_one); |
300 | 301 | ||
301 | void acpi_preset_companion(struct device *dev, acpi_handle parent, u64 addr) | ||
302 | { | ||
303 | struct acpi_device *adev; | ||
304 | |||
305 | if (!acpi_bus_get_device(acpi_get_child(parent, addr), &adev)) | ||
306 | ACPI_COMPANION_SET(dev, adev); | ||
307 | } | ||
308 | EXPORT_SYMBOL_GPL(acpi_preset_companion); | ||
309 | |||
310 | static int acpi_platform_notify(struct device *dev) | 302 | static int acpi_platform_notify(struct device *dev) |
311 | { | 303 | { |
312 | struct acpi_bus_type *type = acpi_get_bus_type(dev); | 304 | struct acpi_bus_type *type = acpi_get_bus_type(dev); |