* [PATCH] gspca: Add CONFIG_INPUT to gspca_input_connect()
@ 2010-03-26 7:23 Douglas Schilling Landgraf
0 siblings, 0 replies; only message in thread
From: Douglas Schilling Landgraf @ 2010-03-26 7:23 UTC (permalink / raw)
To: Linux Media Mailing List; +Cc: Jean-Francois Moine, Mauro Carvalho Chehab
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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-26 5:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 7:23 [PATCH] gspca: Add CONFIG_INPUT to gspca_input_connect() Douglas Schilling Landgraf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox