Skip to contentSkip to conversation

gspca: Add CONFIG_INPUT to gspca_input_connect()

PATCH New Douglas Schilling Landgraf 1 participant 1 message Mar 26, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gspca: Add CONFIG_INPUT to gspca_input_connect()

drivers/media/video/gspca/gspca.c +2 -0
index 1830ea9..df44eca 100644
@@ -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);