Commit 30a2cb35 authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

stagine/easycap: make easyoss_fops static

easyoss_fops are only accessed from within easycap_sound_oss file
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7863ff27
...@@ -692,7 +692,6 @@ extern struct usb_driver easycap_usb_driver; ...@@ -692,7 +692,6 @@ extern struct usb_driver easycap_usb_driver;
extern struct easycap_dongle easycapdc60_dongle[]; extern struct easycap_dongle easycapdc60_dongle[];
#ifdef CONFIG_EASYCAP_OSS #ifdef CONFIG_EASYCAP_OSS
extern struct usb_class_driver easyoss_class; extern struct usb_class_driver easyoss_class;
extern const struct file_operations easyoss_fops;
#endif /* !CONFIG_EASYCAP_OSS */ #endif /* !CONFIG_EASYCAP_OSS */
#endif /* !__EASYCAP_H__ */ #endif /* !__EASYCAP_H__ */
...@@ -1002,7 +1002,7 @@ return 0; ...@@ -1002,7 +1002,7 @@ return 0;
} }
/*****************************************************************************/ /*****************************************************************************/
const struct file_operations easyoss_fops = { static const struct file_operations easyoss_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = easyoss_open, .open = easyoss_open,
.release = easyoss_release, .release = easyoss_release,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment