diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-13 04:58:31 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-28 16:29:34 -0500 |
commit | a850ef8afd3cd1eecd2e136f8dca0c06599eade8 (patch) | |
tree | 9403d65e314ce996fcb3681977c98843bf81b6b9 /sound/i2c | |
parent | 4161b4505f1690358ac0a9ee59845a7887336b21 (diff) |
ALSA: ak4114: Move EXPORT_SYMBOL() after each function
... just to follow the standard coding style.
Acked-by: Jaroslav Kysela <perex@perex.cz>
Tested-by: Pavel Hofman <pavel.hofman@ivitera.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/i2c')
-rw-r--r-- | sound/i2c/other/ak4114.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sound/i2c/other/ak4114.c b/sound/i2c/other/ak4114.c index b70e6eccbd03..f6ee1e7a9bbd 100644 --- a/sound/i2c/other/ak4114.c +++ b/sound/i2c/other/ak4114.c | |||
@@ -122,6 +122,7 @@ int snd_ak4114_create(struct snd_card *card, | |||
122 | snd_ak4114_free(chip); | 122 | snd_ak4114_free(chip); |
123 | return err < 0 ? err : -EIO; | 123 | return err < 0 ? err : -EIO; |
124 | } | 124 | } |
125 | EXPORT_SYMBOL(snd_ak4114_create); | ||
125 | 126 | ||
126 | void snd_ak4114_reg_write(struct ak4114 *chip, unsigned char reg, unsigned char mask, unsigned char val) | 127 | void snd_ak4114_reg_write(struct ak4114 *chip, unsigned char reg, unsigned char mask, unsigned char val) |
127 | { | 128 | { |
@@ -131,6 +132,7 @@ void snd_ak4114_reg_write(struct ak4114 *chip, unsigned char reg, unsigned char | |||
131 | reg_write(chip, reg, | 132 | reg_write(chip, reg, |
132 | (chip->txcsb[reg-AK4114_REG_TXCSB0] & ~mask) | val); | 133 | (chip->txcsb[reg-AK4114_REG_TXCSB0] & ~mask) | val); |
133 | } | 134 | } |
135 | EXPORT_SYMBOL(snd_ak4114_reg_write); | ||
134 | 136 | ||
135 | static void ak4114_init_regs(struct ak4114 *chip) | 137 | static void ak4114_init_regs(struct ak4114 *chip) |
136 | { | 138 | { |
@@ -159,6 +161,7 @@ void snd_ak4114_reinit(struct ak4114 *chip) | |||
159 | if (atomic_dec_and_test(&chip->wq_processing)) | 161 | if (atomic_dec_and_test(&chip->wq_processing)) |
160 | schedule_delayed_work(&chip->work, HZ / 10); | 162 | schedule_delayed_work(&chip->work, HZ / 10); |
161 | } | 163 | } |
164 | EXPORT_SYMBOL(snd_ak4114_reinit); | ||
162 | 165 | ||
163 | static unsigned int external_rate(unsigned char rcs1) | 166 | static unsigned int external_rate(unsigned char rcs1) |
164 | { | 167 | { |
@@ -503,6 +506,7 @@ int snd_ak4114_build(struct ak4114 *ak4114, | |||
503 | schedule_delayed_work(&ak4114->work, HZ / 10); | 506 | schedule_delayed_work(&ak4114->work, HZ / 10); |
504 | return 0; | 507 | return 0; |
505 | } | 508 | } |
509 | EXPORT_SYMBOL(snd_ak4114_build); | ||
506 | 510 | ||
507 | /* notify kcontrols if any parameters are changed */ | 511 | /* notify kcontrols if any parameters are changed */ |
508 | static void ak4114_notify(struct ak4114 *ak4114, | 512 | static void ak4114_notify(struct ak4114 *ak4114, |
@@ -558,6 +562,7 @@ int snd_ak4114_external_rate(struct ak4114 *ak4114) | |||
558 | rcs1 = reg_read(ak4114, AK4114_REG_RCS1); | 562 | rcs1 = reg_read(ak4114, AK4114_REG_RCS1); |
559 | return external_rate(rcs1); | 563 | return external_rate(rcs1); |
560 | } | 564 | } |
565 | EXPORT_SYMBOL(snd_ak4114_external_rate); | ||
561 | 566 | ||
562 | int snd_ak4114_check_rate_and_errors(struct ak4114 *ak4114, unsigned int flags) | 567 | int snd_ak4114_check_rate_and_errors(struct ak4114 *ak4114, unsigned int flags) |
563 | { | 568 | { |
@@ -605,6 +610,7 @@ int snd_ak4114_check_rate_and_errors(struct ak4114 *ak4114, unsigned int flags) | |||
605 | } | 610 | } |
606 | return res; | 611 | return res; |
607 | } | 612 | } |
613 | EXPORT_SYMBOL(snd_ak4114_check_rate_and_errors); | ||
608 | 614 | ||
609 | static void ak4114_stats(struct work_struct *work) | 615 | static void ak4114_stats(struct work_struct *work) |
610 | { | 616 | { |
@@ -615,10 +621,3 @@ static void ak4114_stats(struct work_struct *work) | |||
615 | if (atomic_dec_and_test(&chip->wq_processing)) | 621 | if (atomic_dec_and_test(&chip->wq_processing)) |
616 | schedule_delayed_work(&chip->work, HZ / 10); | 622 | schedule_delayed_work(&chip->work, HZ / 10); |
617 | } | 623 | } |
618 | |||
619 | EXPORT_SYMBOL(snd_ak4114_create); | ||
620 | EXPORT_SYMBOL(snd_ak4114_reg_write); | ||
621 | EXPORT_SYMBOL(snd_ak4114_reinit); | ||
622 | EXPORT_SYMBOL(snd_ak4114_build); | ||
623 | EXPORT_SYMBOL(snd_ak4114_external_rate); | ||
624 | EXPORT_SYMBOL(snd_ak4114_check_rate_and_errors); | ||