ACPI / proc: make ACPI_PROCFS_POWER X86 only
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 1 May 2015 10:27:01 +0000 (11:27 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 May 2015 20:34:44 +0000 (22:34 +0200)
commitbbf55ae19f55cc0ec0d75cfcfa3553331177b518
tree3241f034320f3f1a00643ff129b3790b4aed65e2
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
ACPI / proc: make ACPI_PROCFS_POWER X86 only

The ACPI procfs power interface is initialized by compilation units
that are only selectable on X86 platforms. Since its usage is
deprecated and it cannot even be used on platforms other than X86
it should be compiled in only on X86 platforms.

This patch makes CONFIG_ACPI_PROCFS_POWER dependent on X86, so
that other architectures are prevented from compiling it in for
no purpose.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig