drm/nouveau: select POWER_SUPPLY
authorDave Airlie <airlied@redhat.com>
Mon, 2 Apr 2012 09:45:49 +0000 (10:45 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Apr 2012 09:45:49 +0000 (10:45 +0100)
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>
drivers/gpu/drm/nouveau/Kconfig

index ca1639918f57976b852bdcaab751d18402a882ad..97a81260485a15fb360a4fa6dfc37ac910fca303 100644 (file)
@@ -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.