nouveau: ACPI support depends on X86 and X86_PLATFORM_DEVICES
authorBen Hutchings <ben@decadent.org.uk>
Wed, 20 Feb 2013 02:57:32 +0000 (02:57 +0000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:05:16 +0000 (16:05 +1000)
commita91ed42de25e7e81159c0dd59faf8cac9dfa1d32
treecdc591f8dd70b3c83497fcfd06fa836cfaf944b3
parent5effecd4f8ff0200c4224060275a6c4ecbeed3eb
nouveau: ACPI support depends on X86 and X86_PLATFORM_DEVICES

If I build nouveau on ia64, Kconfig warns:

warning: (DRM_NOUVEAU) selects ACPI_WMI which has unmet direct dependencies (X86 && X86_PLATFORM_DEVICES && ACPI)
warning: (DRM_NOUVEAU) selects MXM_WMI which has unmet direct dependencies (X86 && X86_PLATFORM_DEVICES && ACPI_WMI)

Make all the ACPI support depend on X86 and select
X86_PLATFORM_DEVICES.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Kconfig
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/subdev/bios/base.c
drivers/gpu/drm/nouveau/nouveau_acpi.h