public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Ronald Bultje <rbultje@ronald.bitfreak.net>,
	Laurent Pinchart <laurent.pinchart@skynet.be>,
	Mailinglist <mjpeg-users@lists.sf.net>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] let VIDEO_ZORAN depend on I2C_ALGOBIT
Date: Mon, 21 Jun 2004 17:38:17 +0200	[thread overview]
Message-ID: <20040621153817.GD28607@fs.tum.de> (raw)

The following compile error occurs with VIDEO_ZORAN=y and I2C_ALGOBIT=n
in 2.6.7-mm1 (but it's not specific to -mm):

<--  snip  -->

  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x3861d3): In function `zoran_register_i2c':
: undefined reference to `i2c_bit_add_bus'
drivers/built-in.o(.text+0x3861e9): In function `zoran_unregister_i2c':
: undefined reference to `i2c_bit_del_bus'
make: *** [.tmp_vmlinux1] Error 1

<--  snip  -->


The following patch fixes this issue:


--- linux-2.6.7-mm1-full/drivers/media/video/Kconfig.old	2004-06-21 17:35:29.000000000 +0200
+++ linux-2.6.7-mm1-full/drivers/media/video/Kconfig	2004-06-21 17:35:50.000000000 +0200
@@ -155,7 +155,7 @@
 
 config VIDEO_ZORAN
 	tristate "Zoran ZR36057/36067 Video For Linux"
-	depends on VIDEO_DEV && PCI && I2C
+	depends on VIDEO_DEV && PCI && I2C_ALGOBIT
 	help
 	  Say Y for support for MJPEG capture cards based on the Zoran
 	  36057/36067 PCI controller chipset. This includes the Iomega



cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


             reply	other threads:[~2004-06-21 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 15:38 Adrian Bunk [this message]
2004-06-21 18:29 ` [Mjpeg-users] [2.6 patch] let VIDEO_ZORAN depend on I2C_ALGOBIT Ronald Bultje

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=20040621153817.GD28607@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=laurent.pinchart@skynet.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjpeg-users@lists.sf.net \
    --cc=rbultje@ronald.bitfreak.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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