mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
[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>
This commit is contained in:
parent
4181e5fe4b
commit
2dd31deeeb
@ -1459,16 +1459,3 @@ void snd_emu10k1_resume_regs(struct snd_emu10k1 *emu)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* memory.c */
|
||||
EXPORT_SYMBOL(snd_emu10k1_synth_alloc);
|
||||
EXPORT_SYMBOL(snd_emu10k1_synth_free);
|
||||
EXPORT_SYMBOL(snd_emu10k1_synth_bzero);
|
||||
EXPORT_SYMBOL(snd_emu10k1_synth_copy_from_user);
|
||||
EXPORT_SYMBOL(snd_emu10k1_memblk_map);
|
||||
/* voice.c */
|
||||
EXPORT_SYMBOL(snd_emu10k1_voice_alloc);
|
||||
EXPORT_SYMBOL(snd_emu10k1_voice_free);
|
||||
/* io.c */
|
||||
EXPORT_SYMBOL(snd_emu10k1_ptr_read);
|
||||
EXPORT_SYMBOL(snd_emu10k1_ptr_write);
|
||||
|
@ -62,6 +62,8 @@ unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, un
|
||||
}
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_emu10k1_ptr_read);
|
||||
|
||||
void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data)
|
||||
{
|
||||
unsigned int regptr;
|
||||
@ -92,6 +94,8 @@ void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned i
|
||||
}
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_emu10k1_ptr_write);
|
||||
|
||||
unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu,
|
||||
unsigned int reg,
|
||||
unsigned int chn)
|
||||
|
@ -287,6 +287,8 @@ int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *b
|
||||
return err;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_emu10k1_memblk_map);
|
||||
|
||||
/*
|
||||
* page allocation for DMA
|
||||
*/
|
||||
@ -387,6 +389,7 @@ snd_emu10k1_synth_alloc(struct snd_emu10k1 *hw, unsigned int size)
|
||||
return (struct snd_util_memblk *)blk;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_emu10k1_synth_alloc);
|
||||
|
||||
/*
|
||||
* free a synth sample area
|
||||
@ -409,6 +412,7 @@ snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk)
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_emu10k1_synth_free);
|
||||
|
||||
/* check new allocation range */
|
||||
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
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_emu10k1_synth_bzero);
|
||||
|
||||
/*
|
||||
* copy_from_user(blk + offset, data, size)
|
||||
*/
|
||||
@ -568,3 +574,5 @@ int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_me
|
||||
} while (offset < end_offset);
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_emu10k1_synth_copy_from_user);
|
||||
|
@ -139,6 +139,8 @@ int snd_emu10k1_voice_alloc(struct snd_emu10k1 *emu, int type, int number,
|
||||
return result;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_emu10k1_voice_alloc);
|
||||
|
||||
int snd_emu10k1_voice_free(struct snd_emu10k1 *emu,
|
||||
struct snd_emu10k1_voice *pvoice)
|
||||
{
|
||||
@ -153,3 +155,5 @@ int snd_emu10k1_voice_free(struct snd_emu10k1 *emu,
|
||||
spin_unlock_irqrestore(&emu->voice_lock, flags);
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_emu10k1_voice_free);
|
||||
|
Loading…
Reference in New Issue
Block a user