stagine/easycap: make easyoss_fops static
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7863ff276d
commit
30a2cb350f
@@ -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__ */
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user