]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: fix ch7006 build
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 14 Dec 2009 19:51:40 +0000 (11:51 -0800)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Dec 2009 23:49:18 +0000 (09:49 +1000)
commit5cc147c7d89dc90f1a509d5151a1cf6643b4f410
tree54253325a7ca2658626ed589e18ae18a11beeb7b
parentb6112724ab276efcddb40ddc8c984305af967adb
drm/nouveau: fix ch7006 build

The ch7006 driver could be built even when nouveau was not enabled,
but the build fails in that case, so make it depend on DRM_NOUVEUA.

Also make the I2c encoder/helper chips menu depend on I2C (no build
error, just visual inspection).

ERROR: "drm_helper_probe_single_connector_modes" [drivers/gpu/drm/i2c/ch7006.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Kconfig