diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2011-11-09 06:26:38 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-24 16:16:49 -0500 |
commit | 4329f3c6a5fb4ed2332c7552894e7e4b8efef194 (patch) | |
tree | 4e479a7a5039b4b5ead9c71435103f0ce8d24ff0 /drivers/staging | |
parent | 8b1fad2f046fb825046fee3a41885a70123de988 (diff) |
[media] easycap: easycap_usb_driver should be static to easycap_main.c
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/media/easycap/easycap.h | 1 | ||||
-rw-r--r-- | drivers/staging/media/easycap/easycap_main.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/media/easycap/easycap.h b/drivers/staging/media/easycap/easycap.h index 1d98d3167d74..9e9638ca8e95 100644 --- a/drivers/staging/media/easycap/easycap.h +++ b/drivers/staging/media/easycap/easycap.h | |||
@@ -567,7 +567,6 @@ extern bool easycap_readback; | |||
567 | extern const struct easycap_standard easycap_standard[]; | 567 | extern const struct easycap_standard easycap_standard[]; |
568 | extern struct easycap_format easycap_format[]; | 568 | extern struct easycap_format easycap_format[]; |
569 | extern struct v4l2_queryctrl easycap_control[]; | 569 | extern struct v4l2_queryctrl easycap_control[]; |
570 | extern struct usb_driver easycap_usb_driver; | ||
571 | extern struct easycap_dongle easycapdc60_dongle[]; | 570 | extern struct easycap_dongle easycapdc60_dongle[]; |
572 | 571 | ||
573 | #endif /* !__EASYCAP_H__ */ | 572 | #endif /* !__EASYCAP_H__ */ |
diff --git a/drivers/staging/media/easycap/easycap_main.c b/drivers/staging/media/easycap/easycap_main.c index c147c61caf90..f7af1d284a5e 100644 --- a/drivers/staging/media/easycap/easycap_main.c +++ b/drivers/staging/media/easycap/easycap_main.c | |||
@@ -4150,7 +4150,7 @@ static struct usb_device_id easycap_usb_device_id_table[] = { | |||
4150 | }; | 4150 | }; |
4151 | 4151 | ||
4152 | MODULE_DEVICE_TABLE(usb, easycap_usb_device_id_table); | 4152 | MODULE_DEVICE_TABLE(usb, easycap_usb_device_id_table); |
4153 | struct usb_driver easycap_usb_driver = { | 4153 | static struct usb_driver easycap_usb_driver = { |
4154 | .name = "easycap", | 4154 | .name = "easycap", |
4155 | .id_table = easycap_usb_device_id_table, | 4155 | .id_table = easycap_usb_device_id_table, |
4156 | .probe = easycap_usb_probe, | 4156 | .probe = easycap_usb_probe, |