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)
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>

No differences found