stagine/easycap: make easyoss_fops static
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 3 Feb 2011 11:42:50 +0000 (13:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Feb 2011 20:44:34 +0000 (12:44 -0800)
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>
drivers/staging/easycap/easycap.h
drivers/staging/easycap/easycap_sound_oss.c

index dfda1008532f6c65a6bf3ee203297a50b400bd28..da77e3ee62309fa59e78ad8b3f2a7884fa33d51d 100644 (file)
@@ -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__  */
index 7acdd8ff72e4015c941a492e5fd372b2eba52f0f..ab1b3ccf4147d93d442f25e542d34b3a12a5c6d3 100644 (file)
@@ -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,