summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorMatthew Garrett2012-01-31 19:19:19 +0100
committerLen Brown2012-03-30 10:09:05 +0200
commitf2d4753fbd4d15c65d6ba48167aa83916ddbe518 (patch)
treea5dd5b4a4cec76f98a21866d463e9ec5b222f253 /drivers/acpi
parentLinux 3.3 (diff)
downloadkernel-qcow2-linux-f2d4753fbd4d15c65d6ba48167aa83916ddbe518.tar.gz
kernel-qcow2-linux-f2d4753fbd4d15c65d6ba48167aa83916ddbe518.tar.xz
kernel-qcow2-linux-f2d4753fbd4d15c65d6ba48167aa83916ddbe518.zip
ACPI: export acpi_kobj
Drivers may wish to add entries to /sys/firmware/acpi, so export acpi_kobj in order to let them do that. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index 9ecec98bc76e..3263b68cdfa3 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -1010,6 +1010,7 @@ static int __init acpi_bus_init(void)
}
struct kobject *acpi_kobj;
+EXPORT_SYMBOL_GPL(acpi_kobj);
static int __init acpi_init(void)
{