Skip to content
Commit 61c2bb45 authored by Randy Dunlap's avatar Randy Dunlap Committed by Ben Skeggs
Browse files

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 6ee73861
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment