[media] easycap: easycap_usb_driver should be static to easycap_main.c
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 9 Nov 2011 11:26:38 +0000 (08:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 21:16:49 +0000 (19:16 -0200)
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/easycap/easycap.h
drivers/staging/media/easycap/easycap_main.c

index 1d98d3167d7465c0e591370f0fe39958f095312e..9e9638ca8e95c84703f6626398f3259af6bd7de1 100644 (file)
@@ -567,7 +567,6 @@ extern bool easycap_readback;
 extern const struct easycap_standard easycap_standard[];
 extern struct easycap_format easycap_format[];
 extern struct v4l2_queryctrl easycap_control[];
-extern struct usb_driver easycap_usb_driver;
 extern struct easycap_dongle easycapdc60_dongle[];
 
 #endif /* !__EASYCAP_H__  */
index c147c61caf90ab9bbefd9655711fc565346b6309..f7af1d284a5eb668257697d4a58ae966bd551495 100644 (file)
@@ -4150,7 +4150,7 @@ static struct usb_device_id easycap_usb_device_id_table[] = {
 };
 
 MODULE_DEVICE_TABLE(usb, easycap_usb_device_id_table);
-struct usb_driver easycap_usb_driver = {
+static struct usb_driver easycap_usb_driver = {
        .name = "easycap",
        .id_table = easycap_usb_device_id_table,
        .probe = easycap_usb_probe,