ACPI: AC: Add sysfs interface
[powerpc.git] / drivers / acpi / Kconfig
index ba6a61f..a858bc5 100644 (file)
@@ -88,7 +88,7 @@ config ACPI_PROC_EVENT
 
 config ACPI_AC
        tristate "AC Adapter"
-       depends on X86
+       depends on X86 && POWER_SUPPLY
        default y
        help
          This driver adds support for the AC Adapter object, which indicates