diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2014-05-27 17:14:45 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-27 17:36:01 +0200 |
commit | 9fb01cdb38e0a72f40befdeba68ce7022468b7c8 (patch) | |
tree | 7d5372ed90939f4479d749079337432e41a7dd3c /sound/firewire/bebob/bebob.c | |
parent | ALSA: bebob: Use different names for identifiers in the same file (diff) | |
download | linux-9fb01cdb38e0a72f40befdeba68ce7022468b7c8.tar.xz linux-9fb01cdb38e0a72f40befdeba68ce7022468b7c8.zip |
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.c')
-rw-r--r-- | sound/firewire/bebob/bebob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/bebob/bebob.c b/sound/firewire/bebob/bebob.c index b5e8f99c15a5..0e9d625128cf 100644 --- a/sound/firewire/bebob/bebob.c +++ b/sound/firewire/bebob/bebob.c @@ -313,7 +313,7 @@ static void bebob_remove(struct fw_unit *unit) snd_card_free_when_closed(bebob->card); } -struct snd_bebob_rate_spec normal_rate_spec = { +static struct snd_bebob_rate_spec normal_rate_spec = { .get = &snd_bebob_stream_get_rate, .set = &snd_bebob_stream_set_rate }; |