summaryrefslogtreecommitdiff
path: root/sound/firewire/bebob/bebob_terratec.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-05-28 00:14:45 +0900
committerTakashi Iwai <tiwai@suse.de>2014-05-27 17:36:01 +0200
commit9fb01cdb38e0a72f40befdeba68ce7022468b7c8 (patch)
tree7d5372ed90939f4479d749079337432e41a7dd3c /sound/firewire/bebob/bebob_terratec.c
parent791c67b427dfebfd930228ce33a42e70d6d7a7d3 (diff)
ALSA: bebob: Add static specifier to identifier with file scope
Some variables were declared without static even if they're not referred to from external files. This commit make them local symbols for better information-hiding by file unit. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/bebob/bebob_terratec.c')
-rw-r--r--sound/firewire/bebob/bebob_terratec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/firewire/bebob/bebob_terratec.c b/sound/firewire/bebob/bebob_terratec.c
index 2a89c1cd9b15..eef8ea7d9b97 100644
--- a/sound/firewire/bebob/bebob_terratec.c
+++ b/sound/firewire/bebob/bebob_terratec.c
@@ -38,13 +38,13 @@ phase24_series_clk_src_get(struct snd_bebob *bebob, unsigned int *id)
return avc_audio_get_selector(bebob->unit, 0, 4, id);
}
-struct snd_bebob_rate_spec phase_series_rate_spec = {
+static struct snd_bebob_rate_spec phase_series_rate_spec = {
.get = &snd_bebob_stream_get_rate,
.set = &snd_bebob_stream_set_rate,
};
/* PHASE 88 Rack FW */
-struct snd_bebob_clock_spec phase88_rack_clk = {
+static struct snd_bebob_clock_spec phase88_rack_clk = {
.num = ARRAY_SIZE(phase88_rack_clk_src_labels),
.labels = phase88_rack_clk_src_labels,
.get = &phase88_rack_clk_src_get,
@@ -56,7 +56,7 @@ struct snd_bebob_spec phase88_rack_spec = {
};
/* 'PHASE 24 FW' and 'PHASE X24 FW' */
-struct snd_bebob_clock_spec phase24_series_clk = {
+static struct snd_bebob_clock_spec phase24_series_clk = {
.num = ARRAY_SIZE(phase24_series_clk_src_labels),
.labels = phase24_series_clk_src_labels,
.get = &phase24_series_clk_src_get,