From: Douglas Schilling Landgraf <dougsland@gmail.com>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Jean-Francois Moine <moinejf@free.fr>,
Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: [PATCH] gspca: Add CONFIG_INPUT to gspca_input_connect()
Date: Fri, 26 Mar 2010 03:23:06 -0400 [thread overview]
Message-ID: <4BAC60DA.9030606@gmail.com> (raw)
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
diff --git a/drivers/media/video/gspca/gspca.c
b/drivers/media/video/gspca/gspca.c
index 1830ea9..df44eca 100644
--- a/drivers/media/video/gspca/gspca.c
+++ b/drivers/media/video/gspca/gspca.c
@@ -2281,9 +2281,11 @@ int gspca_dev_probe(struct usb_interface *intf,
goto out;
gspca_set_default_mode(gspca_dev);
+#ifdef CONFIG_INPUT
ret = gspca_input_connect(gspca_dev);
if (ret)
goto out;
+#endif
mutex_init(&gspca_dev->usb_lock);
mutex_init(&gspca_dev->read_lock);
reply other threads:[~2010-03-26 5:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4BAC60DA.9030606@gmail.com \
--to=dougsland@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=moinejf@free.fr \
/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