Skip to content

Commit

Permalink
stagine/easycap: make easyoss_fops static
Browse files Browse the repository at this point in the history
easyoss_fops are only accessed from within easycap_sound_oss file

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Feb 4, 2011
1 parent 7863ff2 commit 30a2cb3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion drivers/staging/easycap/easycap.h
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,6 @@ extern struct usb_driver easycap_usb_driver;
extern struct easycap_dongle easycapdc60_dongle[];
#ifdef CONFIG_EASYCAP_OSS
extern struct usb_class_driver easyoss_class;
extern const struct file_operations easyoss_fops;
#endif /* !CONFIG_EASYCAP_OSS */

#endif /* !__EASYCAP_H__ */
2 changes: 1 addition & 1 deletion drivers/staging/easycap/easycap_sound_oss.c
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ return 0;
}
/*****************************************************************************/

const struct file_operations easyoss_fops = {
static const struct file_operations easyoss_fops = {
.owner = THIS_MODULE,
.open = easyoss_open,
.release = easyoss_release,
Expand Down

0 comments on commit 30a2cb3

Please sign in to comment.