From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>,
David Airlie <airlied@linux•ie>, Ben Skeggs <bskeggs@redhat•com>
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>
Subject: [PATCH -next] nouveau: fix ch7006 build
Date: Mon, 14 Dec 2009 11:51:40 -0800 [thread overview]
Message-ID: <20091214115140.db309483.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20091214165927.c08c4784.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle•com>
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>
Cc: David Airlie <airlied@linux•ie>
Cc: Ben Skeggs <bskeggs@redhat•com>
---
drivers/gpu/drm/nouveau/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- linux-next-20091214.orig/drivers/gpu/drm/nouveau/Kconfig
+++ linux-next-20091214/drivers/gpu/drm/nouveau/Kconfig
@@ -30,11 +30,12 @@ config DRM_NOUVEAU_DEBUG
via debugfs.
menu "I2C encoder or helper chips"
- depends on DRM
+ depends on DRM && I2C
config DRM_I2C_CH7006
tristate "Chrontel ch7006 TV encoder"
- default m if DRM_NOUVEAU
+ depends on DRM_NOUVEAU
+ default m
help
Support for Chrontel ch7006 and similar TV encoders, found
on some nVidia video cards.
prev parent reply other threads:[~2009-12-14 19:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-14 5:59 linux-next: Tree for December 14 Stephen Rothwell
2009-12-14 16:44 ` [PATCH] staging/vt66*: kconfig, depends on WLAN Randy Dunlap
2009-12-14 17:08 ` [PATCH -next] radio/si470x: #include <sched.h> Randy Dunlap
2009-12-14 17:10 ` [PATCH -next] fs: fix compat_ioctl build for CONFIG_BLOCK=n Randy Dunlap
2009-12-14 20:16 ` Arnd Bergmann
2009-12-15 19:29 ` Randy Dunlap
2009-12-14 19:06 ` linux-next: Tree for December 14 (nouveau & AGP) Randy Dunlap
2009-12-14 19:51 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091214115140.db309483.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle$(echo .)com \
--cc=airlied@linux$(echo .)ie \
--cc=bskeggs@redhat$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox