[staging-next 13/15] staging/easycap: kill declaration of not existing variables

Tomas Winkler tomas.winkler at intel.com
Thu Feb 3 11:42:49 UTC 2011


Signed-off-by: Tomas Winkler <tomas.winkler at intel.com>
---
 drivers/staging/easycap/easycap.h |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/easycap/easycap.h b/drivers/staging/easycap/easycap.h
index df0440d..dfda100 100644
--- a/drivers/staging/easycap/easycap.h
+++ b/drivers/staging/easycap/easycap.h
@@ -690,11 +690,7 @@ 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[];
-#ifndef CONFIG_EASYCAP_OSS
-extern struct snd_pcm_ops easycap_alsa_ops;
-extern struct snd_pcm_hardware easycap_pcm_hardware;
-extern struct snd_card *psnd_card;
-#else /* CONFIG_EASYCAP_OSS */
+#ifdef CONFIG_EASYCAP_OSS
 extern struct usb_class_driver easyoss_class;
 extern const struct file_operations easyoss_fops;
 #endif /* !CONFIG_EASYCAP_OSS */
-- 
1.7.4

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




More information about the devel mailing list