diff options
author | Matthew Garrett <mjg@redhat.com> | 2012-06-25 04:13:03 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-06-29 11:38:10 -0400 |
commit | 6b66d95895c149cbc04d4fac5a2f5477c543a8ae (patch) | |
tree | fbf0349878339b7104338af89be86d0f78bfee1a /drivers/acpi/glue.c | |
parent | de50ada55b6b83b54b817911ec42dc590e1c1738 (diff) |
libata: bind the Linux device tree to the ACPI device tree
Associate the ACPI device tree and libata devices.
This patch uses the generic ACPI glue framework to do so.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Holger Macht <holger@homac.de>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/acpi/glue.c')
-rw-r--r-- | drivers/acpi/glue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c index 1564e0927c21..18d6812a699e 100644 --- a/drivers/acpi/glue.c +++ b/drivers/acpi/glue.c | |||
@@ -39,6 +39,7 @@ int register_acpi_bus_type(struct acpi_bus_type *type) | |||
39 | } | 39 | } |
40 | return -ENODEV; | 40 | return -ENODEV; |
41 | } | 41 | } |
42 | EXPORT_SYMBOL(register_acpi_bus_type); | ||
42 | 43 | ||
43 | int unregister_acpi_bus_type(struct acpi_bus_type *type) | 44 | int unregister_acpi_bus_type(struct acpi_bus_type *type) |
44 | { | 45 | { |
@@ -54,6 +55,7 @@ int unregister_acpi_bus_type(struct acpi_bus_type *type) | |||
54 | } | 55 | } |
55 | return -ENODEV; | 56 | return -ENODEV; |
56 | } | 57 | } |
58 | EXPORT_SYMBOL(unregister_acpi_bus_type); | ||
57 | 59 | ||
58 | static struct acpi_bus_type *acpi_get_bus_type(struct bus_type *type) | 60 | static struct acpi_bus_type *acpi_get_bus_type(struct bus_type *type) |
59 | { | 61 | { |
@@ -69,7 +71,6 @@ static struct acpi_bus_type *acpi_get_bus_type(struct bus_type *type) | |||
69 | up_read(&bus_type_sem); | 71 | up_read(&bus_type_sem); |
70 | return ret; | 72 | return ret; |
71 | } | 73 | } |
72 | EXPORT_SYMBOL_GPL(register_acpi_bus_type); | ||
73 | 74 | ||
74 | static int acpi_find_bridge_device(struct device *dev, acpi_handle * handle) | 75 | static int acpi_find_bridge_device(struct device *dev, acpi_handle * handle) |
75 | { | 76 | { |
@@ -86,7 +87,6 @@ static int acpi_find_bridge_device(struct device *dev, acpi_handle * handle) | |||
86 | up_read(&bus_type_sem); | 87 | up_read(&bus_type_sem); |
87 | return ret; | 88 | return ret; |
88 | } | 89 | } |
89 | EXPORT_SYMBOL_GPL(unregister_acpi_bus_type); | ||
90 | 90 | ||
91 | /* Get device's handler per its address under its parent */ | 91 | /* Get device's handler per its address under its parent */ |
92 | struct acpi_find_child { | 92 | struct acpi_find_child { |