All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaime Velasco Juan <jsagarribay@gmail.com>
To: "Toralf Förster" <toralf.foerster@gmx.de>
Cc: video4linux-list@redhat.com
Subject: [PATCH] stkwebcam: depend on VIDEO_V4L1_COMPAT
Date: Wed, 19 Mar 2008 18:00:27 +0000	[thread overview]
Message-ID: <20080319180027.GA22812@singular.sob> (raw)
In-Reply-To: <200803191044.20611.toralf.foerster@gmx.de>

This should fix build failure reported by Toralf Förster:

El mié. 19 de mar. de 2008, a las 10:44:20 +0100, Toralf Förster escribió:
> Hello,
> 
> the build with the attached .config failed, make ends with:
> ...
>   CC [M]  drivers/media/video/stk-webcam.o
> drivers/media/video/stk-webcam.c: In function 'stk_create_sysfs_files':
> drivers/media/video/stk-webcam.c:340: error: implicit declaration of function 'video_device_create_file'
> drivers/media/video/stk-webcam.c: In function 'stk_remove_sysfs_files':
> drivers/media/video/stk-webcam.c:348: error: implicit declaration of function 'video_device_remove_file'
> drivers/media/video/stk-webcam.c: At top level:
[...]

Regards.

Signed-off-by: Jaime Velasco Juan <jsagarribay@gmail.com>

---

diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index 37072a2..544630e 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -823,7 +823,7 @@ config USB_ZR364XX
 
 config USB_STKWEBCAM
 	tristate "USB Syntek DC1125 Camera support"
-	depends on VIDEO_V4L2 && EXPERIMENTAL
+	depends on VIDEO_V4L2 && VIDEO_V4L1_COMPAT && EXPERIMENTAL
 	---help---
 	  Say Y here if you want to use this type of camera.
 	  Supported devices are typically found in some Asus laptops,

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

           reply	other threads:[~2008-03-19 18:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200803191044.20611.toralf.foerster@gmx.de>]

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=20080319180027.GA22812@singular.sob \
    --to=jsagarribay@gmail.com \
    --cc=toralf.foerster@gmx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.