aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2011-05-12 16:17:56 -0400
committerTakashi Iwai <tiwai@suse.de>2011-05-13 13:43:01 -0400
commitea27316e4cd13b25727715c0db8adb0b1661f5e7 (patch)
tree724f1ba4420b310ebd6041a21993c4f7aae3a6ef /include/sound
parentf3f7c1837f6bcae3601fc535b339426868bf1549 (diff)
ALSA: tea575x: remove freq_fixup from struct
freq_fixup is a constant, no need to hold it in struct snd_tea575x and set in each driver. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/tea575x-tuner.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/tea575x-tuner.h b/include/sound/tea575x-tuner.h
index e50cb2934efe..0291f48e035e 100644
--- a/include/sound/tea575x-tuner.h
+++ b/include/sound/tea575x-tuner.h
@@ -26,6 +26,8 @@
26#include <media/v4l2-dev.h> 26#include <media/v4l2-dev.h>
27#include <media/v4l2-ioctl.h> 27#include <media/v4l2-ioctl.h>
28 28
29#define TEA575X_FMIF 10700
30
29#define TEA575X_DATA (1 << 0) 31#define TEA575X_DATA (1 << 0)
30#define TEA575X_CLK (1 << 1) 32#define TEA575X_CLK (1 << 1)
31#define TEA575X_WREN (1 << 2) 33#define TEA575X_WREN (1 << 2)
@@ -46,7 +48,6 @@ struct snd_tea575x {
46 bool mute; /* Device is muted? */ 48 bool mute; /* Device is muted? */
47 bool stereo; /* receiving stereo */ 49 bool stereo; /* receiving stereo */
48 bool tuned; /* tuned to a station */ 50 bool tuned; /* tuned to a station */
49 unsigned int freq_fixup; /* crystal onboard */
50 unsigned int val; /* hw value */ 51 unsigned int val; /* hw value */
51 unsigned long freq; /* frequency */ 52 unsigned long freq; /* frequency */
52 unsigned long in_use; /* set if the device is in use */ 53 unsigned long in_use; /* set if the device is in use */