* [PATCH -next] drm: fix nouveau_acpi build
[not found] <20110511152508.0d5d5aa6.sfr@canb.auug.org.au>
@ 2011-05-11 22:04 ` Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2011-05-11 22:04 UTC (permalink / raw)
To: Stephen Rothwell, David Airlie; +Cc: linux-next, LKML, dri-devel
From: Randy Dunlap <randy.dunlap@oracle.com>
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>
---
drivers/gpu/drm/nouveau/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-next-20110511.orig/drivers/gpu/drm/nouveau/Kconfig
+++ linux-next-20110511/drivers/gpu/drm/nouveau/Kconfig
@@ -11,7 +11,8 @@ config DRM_NOUVEAU
select FRAMEBUFFER_CONSOLE if !EXPERT
select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL && INPUT
- select MXM_WMI if ACPI && ACPI_WMI
+ select ACPI_WMI if ACPI
+ select MXM_WMI if ACPI
help
Choose this option for open-source nVidia support.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-11 22:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20110511152508.0d5d5aa6.sfr@canb.auug.org.au>
2011-05-11 22:04 ` [PATCH -next] drm: fix nouveau_acpi build Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox