summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-05-26 12:57:09 +0200
committerTakashi Iwai <tiwai@suse.de>2015-05-26 13:00:01 +0200
commit574d69c27b74f0ff18038dc6138b8c1510731cea (patch)
tree659212facd87764f92820e50910edea9075e9d53
parente42e748efdb06568d78fb1a47ec66a6c2587412f (diff)
downloadop-kernel-dev-574d69c27b74f0ff18038dc6138b8c1510731cea.zip
op-kernel-dev-574d69c27b74f0ff18038dc6138b8c1510731cea.tar.gz
ALSA: bcd2000: Make local data static
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>
-rw-r--r--sound/usb/bcd2000/bcd2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/bcd2000/bcd2000.c b/sound/usb/bcd2000/bcd2000.c
index 820d6ca..d060ddd 100644
--- 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
OpenPOWER on IntegriCloud