Forráskód Böngészése

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>
Matthew Garrett 13 éve
szülő
commit
f2d4753fbd
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      drivers/acpi/bus.c

+ 1 - 0
drivers/acpi/bus.c

@@ -1010,6 +1010,7 @@ static int __init acpi_bus_init(void)
 }
 }
 
 
 struct kobject *acpi_kobj;
 struct kobject *acpi_kobj;
+EXPORT_SYMBOL_GPL(acpi_kobj);
 
 
 static int __init acpi_init(void)
 static int __init acpi_init(void)
 {
 {