diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-04-28 09:13:39 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-06-22 15:32:58 -0400 |
commit | 2dd31deeeb238a4f40c9fc9e219dc210fcbf8765 (patch) | |
tree | 19156b05b4e8a6624a1d9a87cc2236db435b90b4 /sound/pci/emu10k1/memory.c | |
parent | 4181e5fe4b27b0a049402a359a4a5d8b80308528 (diff) |
[ALSA] emu10k1 - Move EXPORT_SYMBOL() to adjacent to each function
Move EXPORT_SYMBOL() to adjacent to each exported function/variable.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/memory.c')
-rw-r--r-- | sound/pci/emu10k1/memory.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/pci/emu10k1/memory.c b/sound/pci/emu10k1/memory.c index e7ec98649f04..4fcaefe5a3c5 100644 --- a/sound/pci/emu10k1/memory.c +++ b/sound/pci/emu10k1/memory.c | |||
@@ -287,6 +287,8 @@ int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *b | |||
287 | return err; | 287 | return err; |
288 | } | 288 | } |
289 | 289 | ||
290 | EXPORT_SYMBOL(snd_emu10k1_memblk_map); | ||
291 | |||
290 | /* | 292 | /* |
291 | * page allocation for DMA | 293 | * page allocation for DMA |
292 | */ | 294 | */ |
@@ -387,6 +389,7 @@ snd_emu10k1_synth_alloc(struct snd_emu10k1 *hw, unsigned int size) | |||
387 | return (struct snd_util_memblk *)blk; | 389 | return (struct snd_util_memblk *)blk; |
388 | } | 390 | } |
389 | 391 | ||
392 | EXPORT_SYMBOL(snd_emu10k1_synth_alloc); | ||
390 | 393 | ||
391 | /* | 394 | /* |
392 | * free a synth sample area | 395 | * free a synth sample area |
@@ -409,6 +412,7 @@ snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk) | |||
409 | return 0; | 412 | return 0; |
410 | } | 413 | } |
411 | 414 | ||
415 | EXPORT_SYMBOL(snd_emu10k1_synth_free); | ||
412 | 416 | ||
413 | /* check new allocation range */ | 417 | /* check new allocation range */ |
414 | static void get_single_page_range(struct snd_util_memhdr *hdr, | 418 | static void get_single_page_range(struct snd_util_memhdr *hdr, |
@@ -540,6 +544,8 @@ int snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk | |||
540 | return 0; | 544 | return 0; |
541 | } | 545 | } |
542 | 546 | ||
547 | EXPORT_SYMBOL(snd_emu10k1_synth_bzero); | ||
548 | |||
543 | /* | 549 | /* |
544 | * copy_from_user(blk + offset, data, size) | 550 | * copy_from_user(blk + offset, data, size) |
545 | */ | 551 | */ |
@@ -568,3 +574,5 @@ int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_me | |||
568 | } while (offset < end_offset); | 574 | } while (offset < end_offset); |
569 | return 0; | 575 | return 0; |
570 | } | 576 | } |
577 | |||
578 | EXPORT_SYMBOL(snd_emu10k1_synth_copy_from_user); | ||