ACPI: export acpi_kobj
authorMatthew Garrett <mjg@redhat.com>
Tue, 31 Jan 2012 18:19:19 +0000 (13:19 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 30 Mar 2012 08:09:05 +0000 (04:09 -0400)
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>
drivers/acpi/bus.c

index 9ecec98bc76e9aa030c3c5c0c060ba283e1dcf64..3263b68cdfa3ea3404d8eb647fe317f28bc1c8ce 100644 (file)
@@ -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)
 {