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)
commit61c2bb45697a56e96313a5f85f609b0c12ae26ff
tree54253325a7ca2658626ed589e18ae18a11beeb7b
parent6ee738610f41b59733f63718f0bdbcba7d3a3f12
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