From: aherrman@arcor.de
To: luca.risolia@studio.unibo.it, akpm@linux-foundation.org
Cc: linux-usb-devel@lists.sourceforge.net,
video4linux-list@redhat.com, linux-kernel@vger.kernel.org
Subject: [PATCH] v4l: Build error with et61x251, if V4L1_COMPAT is not selected
Date: Thu, 13 Sep 2007 14:36:27 +0200 [thread overview]
Message-ID: <20070913123627.GD10348@devil> (raw)
With current git tree I get an build error
for et61x251, if V4L1_COMPAT is not selected:
drivers/media/video/et61x251/et61x251_core.c: In et61x251_show_:
drivers/media/video/et61x251/et61x251_core.c:718: error: implicit declaration of to_video_device
Fix: add VIDEO_V4L1_COMPAT as a dependency for this driver.
Signed-off-by: Andreas Herrmann <aherrman@arcor.de>
---
drivers/media/video/et61x251/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/et61x251/Kconfig b/drivers/media/video/et61x251/Kconfig
index dcc1a03..9143424 100644
--- a/drivers/media/video/et61x251/Kconfig
+++ b/drivers/media/video/et61x251/Kconfig
@@ -1,6 +1,6 @@
config USB_ET61X251
tristate "USB ET61X[12]51 PC Camera Controller support"
- depends on VIDEO_V4L2
+ depends on VIDEO_V4L2 && VIDEO_V4L1_COMPAT
---help---
Say Y here if you want support for cameras based on Etoms ET61X151
or ET61X251 PC Camera Controllers.
--
1.5.3
next reply other threads:[~2007-09-13 12:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-13 12:36 aherrman [this message]
2007-09-13 15:07 ` [PATCH] v4l: Build error with et61x251, if V4L1_COMPAT is not selected Luca Risolia
2007-09-13 22:06 ` aherrman
2007-09-13 22:27 ` [PATCH] v4l: fix build error for et61x251 driver Andreas Herrmann
2007-09-13 22:28 ` Luca Risolia
2007-09-14 0:09 ` Linus Torvalds
2007-09-14 1:53 ` Luca Risolia
2007-09-14 7:48 ` aherrman
2007-09-14 12:50 ` Mauro Carvalho Chehab
2007-09-14 13:57 ` Luca Risolia
2007-09-14 15:56 ` Mauro Carvalho Chehab
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=20070913123627.GD10348@devil \
--to=aherrman@arcor.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=luca.risolia@studio.unibo.it \
--cc=video4linux-list@redhat.com \
/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