提交 a850ef8a 编写于 作者: T Takashi Iwai

ALSA: ak4114: Move EXPORT_SYMBOL() after each function

... just to follow the standard coding style.
Acked-by: NJaroslav Kysela <perex@perex.cz>
Tested-by: NPavel Hofman <pavel.hofman@ivitera.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 4161b450
...@@ -122,6 +122,7 @@ int snd_ak4114_create(struct snd_card *card, ...@@ -122,6 +122,7 @@ int snd_ak4114_create(struct snd_card *card,
snd_ak4114_free(chip); snd_ak4114_free(chip);
return err < 0 ? err : -EIO; return err < 0 ? err : -EIO;
} }
EXPORT_SYMBOL(snd_ak4114_create);
void snd_ak4114_reg_write(struct ak4114 *chip, unsigned char reg, unsigned char mask, unsigned char val) void snd_ak4114_reg_write(struct ak4114 *chip, unsigned char reg, unsigned char mask, unsigned char val)
{ {
...@@ -131,6 +132,7 @@ void snd_ak4114_reg_write(struct ak4114 *chip, unsigned char reg, unsigned char ...@@ -131,6 +132,7 @@ void snd_ak4114_reg_write(struct ak4114 *chip, unsigned char reg, unsigned char
reg_write(chip, reg, reg_write(chip, reg,
(chip->txcsb[reg-AK4114_REG_TXCSB0] & ~mask) | val); (chip->txcsb[reg-AK4114_REG_TXCSB0] & ~mask) | val);
} }
EXPORT_SYMBOL(snd_ak4114_reg_write);
static void ak4114_init_regs(struct ak4114 *chip) static void ak4114_init_regs(struct ak4114 *chip)
{ {
...@@ -159,6 +161,7 @@ void snd_ak4114_reinit(struct ak4114 *chip) ...@@ -159,6 +161,7 @@ void snd_ak4114_reinit(struct ak4114 *chip)
if (atomic_dec_and_test(&chip->wq_processing)) if (atomic_dec_and_test(&chip->wq_processing))
schedule_delayed_work(&chip->work, HZ / 10); schedule_delayed_work(&chip->work, HZ / 10);
} }
EXPORT_SYMBOL(snd_ak4114_reinit);
static unsigned int external_rate(unsigned char rcs1) static unsigned int external_rate(unsigned char rcs1)
{ {
...@@ -503,6 +506,7 @@ int snd_ak4114_build(struct ak4114 *ak4114, ...@@ -503,6 +506,7 @@ int snd_ak4114_build(struct ak4114 *ak4114,
schedule_delayed_work(&ak4114->work, HZ / 10); schedule_delayed_work(&ak4114->work, HZ / 10);
return 0; return 0;
} }
EXPORT_SYMBOL(snd_ak4114_build);
/* notify kcontrols if any parameters are changed */ /* notify kcontrols if any parameters are changed */
static void ak4114_notify(struct ak4114 *ak4114, static void ak4114_notify(struct ak4114 *ak4114,
...@@ -558,6 +562,7 @@ int snd_ak4114_external_rate(struct ak4114 *ak4114) ...@@ -558,6 +562,7 @@ int snd_ak4114_external_rate(struct ak4114 *ak4114)
rcs1 = reg_read(ak4114, AK4114_REG_RCS1); rcs1 = reg_read(ak4114, AK4114_REG_RCS1);
return external_rate(rcs1); return external_rate(rcs1);
} }
EXPORT_SYMBOL(snd_ak4114_external_rate);
int snd_ak4114_check_rate_and_errors(struct ak4114 *ak4114, unsigned int flags) int snd_ak4114_check_rate_and_errors(struct ak4114 *ak4114, unsigned int flags)
{ {
...@@ -605,6 +610,7 @@ int snd_ak4114_check_rate_and_errors(struct ak4114 *ak4114, unsigned int flags) ...@@ -605,6 +610,7 @@ int snd_ak4114_check_rate_and_errors(struct ak4114 *ak4114, unsigned int flags)
} }
return res; return res;
} }
EXPORT_SYMBOL(snd_ak4114_check_rate_and_errors);
static void ak4114_stats(struct work_struct *work) static void ak4114_stats(struct work_struct *work)
{ {
...@@ -615,10 +621,3 @@ static void ak4114_stats(struct work_struct *work) ...@@ -615,10 +621,3 @@ static void ak4114_stats(struct work_struct *work)
if (atomic_dec_and_test(&chip->wq_processing)) if (atomic_dec_and_test(&chip->wq_processing))
schedule_delayed_work(&chip->work, HZ / 10); schedule_delayed_work(&chip->work, HZ / 10);
} }
EXPORT_SYMBOL(snd_ak4114_create);
EXPORT_SYMBOL(snd_ak4114_reg_write);
EXPORT_SYMBOL(snd_ak4114_reinit);
EXPORT_SYMBOL(snd_ak4114_build);
EXPORT_SYMBOL(snd_ak4114_external_rate);
EXPORT_SYMBOL(snd_ak4114_check_rate_and_errors);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册