]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
drm/i2c/ch7006: Drop build time dependency to nouveau.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 16 Dec 2009 11:27:11 +0000 (12:27 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 11 Jan 2010 04:41:04 +0000 (14:41 +1000)
This partially reverts e4b41066, as this driver is intended to be
useful with any KMS driver for suitable hardware. The missing build
dependency that commit workarounded was DRM_KMS_HELPER.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
drivers/gpu/drm/nouveau/Kconfig

index b1bc1ea182b80362dea6dee9f3c098d96e9744f4..1175429da1029bf18feb23813aaa223cae651283 100644 (file)
@@ -30,12 +30,11 @@ config DRM_NOUVEAU_DEBUG
          via debugfs.
 
 menu "I2C encoder or helper chips"
          via debugfs.
 
 menu "I2C encoder or helper chips"
-     depends on DRM && I2C
+     depends on DRM && DRM_KMS_HELPER && I2C
 
 config DRM_I2C_CH7006
        tristate "Chrontel ch7006 TV encoder"
 
 config DRM_I2C_CH7006
        tristate "Chrontel ch7006 TV encoder"
-       depends on DRM_NOUVEAU
-       default m
+       default m if DRM_NOUVEAU
        help
          Support for Chrontel ch7006 and similar TV encoders, found
          on some nVidia video cards.
        help
          Support for Chrontel ch7006 and similar TV encoders, found
          on some nVidia video cards.