summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-04-02 11:45:49 +0200
committerDave Airlie <airlied@redhat.com>2012-04-02 11:45:49 +0200
commit40c61046ee3007d73f141e96aa2f3dd56ee321c6 (patch)
tree8ae9f4dc5aa83a4e7cc8664de97d1001fcddd92b /drivers/gpu
parentMerge branch 'drm-nouveau-fixes' of git://git.freedesktop.org/git/nouveau/lin... (diff)
downloadlinux-40c61046ee3007d73f141e96aa2f3dd56ee321c6.tar.xz
linux-40c61046ee3007d73f141e96aa2f3dd56ee321c6.zip
drm/nouveau: select POWER_SUPPLY
Ben H. reported that building nouveau into the kernel and power supply as a module was broken. Just have nouveau select it, like radeon does. Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/Kconfig b/drivers/gpu/drm/nouveau/Kconfig
index ca1639918f57..97a81260485a 100644
--- a/drivers/gpu/drm/nouveau/Kconfig
+++ b/drivers/gpu/drm/nouveau/Kconfig
@@ -13,6 +13,7 @@ config DRM_NOUVEAU
select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL && INPUT
select ACPI_WMI if ACPI
select MXM_WMI if ACPI
+ select POWER_SUPPLY
help
Choose this option for open-source nVidia support.