From: Julien Cristau Subject: Re: [PATCH] drm/radeon/kms: add support for internal thermal sensors (v2) Date: Wed, 2 Jun 2010 13:55:28 +0200 Message-ID: <20100602115528.GD21413@patate.is-a-geek.org> References: <20100601214537.GA18864@srcf.ucam.org> <1275432750-4296-1-git-send-email-alexdeucher@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from coloquinte.cristau.org (coloquinte.cristau.org [91.121.16.100]) by gabe.freedesktop.org (Postfix) with ESMTP id 8BBEB9E789 for ; Wed, 2 Jun 2010 04:55:30 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1275432750-4296-1-git-send-email-alexdeucher@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Alex Deucher Cc: mjg59@srcf.ucam.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Tue, Jun 1, 2010 at 18:52:30 -0400, Alex Deucher wrote: > diff --git a/drivers/gpu/drm/radeon/Kconfig b/drivers/gpu/drm/radeon/Kconfig > index 80c5b3e..2e3896d 100644 > --- a/drivers/gpu/drm/radeon/Kconfig > +++ b/drivers/gpu/drm/radeon/Kconfig > @@ -2,6 +2,7 @@ config DRM_RADEON_KMS > bool "Enable modesetting on radeon by default - NEW DRIVER" > depends on DRM_RADEON > depends on POWER_SUPPLY > + depends on HWMON > help > Choose this option if you want kernel modesetting enabled by default. > Shouldn't these be under CONFIG_DRM_RADEON, with _KMS only changing the default value of the modeset parameter? Otherwise you could still try to build the driver with _KMS off, and CONFIG_HWMON disabled (which I assume is going to fail). Cheers, Julien