Skip to content

Commit

Permalink
[media] easycap: easycap_usb_driver should be static to easycap_main.c
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Tomas Winkler authored and Mauro Carvalho Chehab committed Nov 24, 2011
1 parent 8b1fad2 commit 4329f3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion drivers/staging/media/easycap/easycap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
2 changes: 1 addition & 1 deletion drivers/staging/media/easycap/easycap_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4329f3c

Please sign in to comment.