summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-03-23 12:58:30 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2011-03-23 12:58:30 +1100
commitad51125b5c00497bcbd2624a5585c89a7d7e1f21 (patch)
treea5847de24f168a359476714310be4d8200b754d7 /include
parent816575ed67d42df784ff8f6ff089a676321d4da6 (diff)
parent5c50ae9872f3f0acbf44da246631749c202a03da (diff)
Merge remote-tracking branch 'sound/for-next'
Diffstat (limited to 'include')
-rw-r--r--include/sound/control.h1
-rw-r--r--include/sound/tea575x-tuner.h7
2 files changed, 5 insertions, 3 deletions
diff --git a/include/sound/control.h b/include/sound/control.h
index e67db2869360..40423810985a 100644
--- a/include/sound/control.h
+++ b/include/sound/control.h
@@ -113,6 +113,7 @@ struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new * kcontrolnew, v
void snd_ctl_free_one(struct snd_kcontrol * kcontrol);
int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol);
int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
+int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace);
int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
int snd_ctl_rename_id(struct snd_card * card, struct snd_ctl_elem_id *src_id, struct snd_ctl_elem_id *dst_id);
int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id,
diff --git a/include/sound/tea575x-tuner.h b/include/sound/tea575x-tuner.h
index 5718a02d3afb..5aade569439b 100644
--- a/include/sound/tea575x-tuner.h
+++ b/include/sound/tea575x-tuner.h
@@ -37,9 +37,10 @@ struct snd_tea575x_ops {
struct snd_tea575x {
struct snd_card *card;
struct video_device *vd; /* video device */
- int dev_nr; /* requested device number + 1 */
- int tea5759; /* 5759 chip is present */
- int mute; /* Device is muted? */
+ bool tea5759; /* 5759 chip is present */
+ bool mute; /* Device is muted? */
+ bool stereo; /* receiving stereo */
+ bool tuned; /* tuned to a station */
unsigned int freq_fixup; /* crystal onboard */
unsigned int val; /* hw value */
unsigned long freq; /* frequency */