projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42e748
)
ALSA: bcd2000: Make local data static
author
Takashi Iwai
<tiwai@suse.de>
Tue, 26 May 2015 10:57:09 +0000
(12:57 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 26 May 2015 11:00:01 +0000
(13:00 +0200)
Spotted by sparse:
sound/usb/
bcd2000
/
bcd2000
.c:73:1: warning: symbol 'devices_used' was not declared. Should it be static?
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/bcd2000/bcd2000.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/bcd2000/bcd2000.c
b/sound/usb/bcd2000/bcd2000.c
index 820d6ca8c4580582ceb8ff59330cdce5f5ab89ff..d060dddcc52d5d71be56731b647d2d64442c1fc8 100644
(file)
--- a/
sound/usb/bcd2000/bcd2000.c
+++ b/
sound/usb/bcd2000/bcd2000.c
@@
-70,7
+70,7
@@
static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
static DEFINE_MUTEX(devices_mutex);
-DECLARE_BITMAP(devices_used, SNDRV_CARDS);
+
static
DECLARE_BITMAP(devices_used, SNDRV_CARDS);
static struct usb_driver bcd2000_driver;
#ifdef CONFIG_SND_DEBUG