Skip to content

Commit 0eacdba

Browse files
committed
drm/mxm: fix Kconfig options for when to build MXM WMI driver.
Signed-off-by: Dave Airlie <[email protected]>
1 parent 269dc2d commit 0eacdba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/gpu/drm/nouveau/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ config DRM_NOUVEAU
1111
select FRAMEBUFFER_CONSOLE if !EXPERT
1212
select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
1313
select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL && INPUT
14-
select MXM_WMI if ACPI
14+
select MXM_WMI if ACPI && ACPI_WMI
1515
help
1616
Choose this option for open-source nVidia support.
1717

drivers/platform/x86/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ config SAMSUNG_LAPTOP
755755

756756
config MXM_WMI
757757
tristate "WMI support for MXM Laptop Graphics"
758-
depends on WMI
758+
depends on ACPI_WMI
759759
---help---
760760
MXM is a standard for laptop graphics cards, the WMI interface
761761
is required for switchable nvidia graphics machines

0 commit comments

Comments
 (0)