drm: fix nouveau_acpi build
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 11 May 2011 22:04:34 +0000 (15:04 -0700)
committerDave Airlie <airlied@redhat.com>
Mon, 16 May 2011 01:57:20 +0000 (11:57 +1000)
commitfb0b760605d1f3bb7afc83ffd7a770f92bb62fca
tree398aef95918f91c71e3f4dc87a1cf2207c90d634
parent46f2b6073430e14561f3aea1cee19b35223e0c04
drm: fix nouveau_acpi build

Fix build errors when CONFIG_ACPI is enabled but MXM_WMI is not enabled
by selecting both MXM_WMI and ACPI_WMI (the latter just for kconfig
dependencies):

nouveau_acpi.c:(.text+0x2400c8): undefined reference to `mxm_wmi_call_mxmx'
nouveau_acpi.c:(.text+0x2400cf): undefined reference to `mxm_wmi_call_mxds'
nouveau_acpi.c:(.text+0x2400fe): undefined reference to `mxm_wmi_call_mxmx'
nouveau_acpi.c:(.text+0x2402ba): undefined reference to `mxm_wmi_supported

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/Kconfig