summaryrefslogtreecommitdiffstats
path: root/sound/core/memalloc.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-08-11 15:59:17 +0200
committerJaroslav Kysela <perex@suse.cz>2005-08-30 08:45:01 +0200
commita53fc188ec6fc406276799da465fe789c40d96b2 (patch)
tree491eec5ff01481a95f803010e87de4bea4c9b1ed /sound/core/memalloc.c
parentb65f824c1ea954ea2b974e42c064f72bfbfe3dd2 (diff)
downloadop-kernel-dev-a53fc188ec6fc406276799da465fe789c40d96b2.zip
op-kernel-dev-a53fc188ec6fc406276799da465fe789c40d96b2.tar.gz
[ALSA] make local objects static
Memalloc module,PCM Midlevel,Timer Midlevel,GUS Library,AC97 Codec ALI5451 driver,RME9652 driver Make some functions/variables that are used in only one file static. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/core/memalloc.c')
-rw-r--r--sound/core/memalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c
index 0213256..371215c 100644
--- a/sound/core/memalloc.c
+++ b/sound/core/memalloc.c
@@ -512,7 +512,7 @@ static void free_all_reserved_pages(void)
* proc file interface
*/
#define SND_MEM_PROC_FILE "driver/snd-page-alloc"
-struct proc_dir_entry *snd_mem_proc;
+static struct proc_dir_entry *snd_mem_proc;
static int snd_mem_proc_read(char *page, char **start, off_t off,
int count, int *eof, void *data)
OpenPOWER on IntegriCloud