diff options
Diffstat (limited to 'sound/drivers/opl4/opl4_lib.c')
-rw-r--r-- | sound/drivers/opl4/opl4_lib.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sound/drivers/opl4/opl4_lib.c b/sound/drivers/opl4/opl4_lib.c index 4bc860ae02de..01997f24c895 100644 --- a/sound/drivers/opl4/opl4_lib.c +++ b/sound/drivers/opl4/opl4_lib.c | |||
@@ -43,6 +43,8 @@ void snd_opl4_write(struct snd_opl4 *opl4, u8 reg, u8 value) | |||
43 | outb(value, opl4->pcm_port + 1); | 43 | outb(value, opl4->pcm_port + 1); |
44 | } | 44 | } |
45 | 45 | ||
46 | EXPORT_SYMBOL(snd_opl4_write); | ||
47 | |||
46 | u8 snd_opl4_read(struct snd_opl4 *opl4, u8 reg) | 48 | u8 snd_opl4_read(struct snd_opl4 *opl4, u8 reg) |
47 | { | 49 | { |
48 | snd_opl4_wait(opl4); | 50 | snd_opl4_wait(opl4); |
@@ -52,6 +54,8 @@ u8 snd_opl4_read(struct snd_opl4 *opl4, u8 reg) | |||
52 | return inb(opl4->pcm_port + 1); | 54 | return inb(opl4->pcm_port + 1); |
53 | } | 55 | } |
54 | 56 | ||
57 | EXPORT_SYMBOL(snd_opl4_read); | ||
58 | |||
55 | void snd_opl4_read_memory(struct snd_opl4 *opl4, char *buf, int offset, int size) | 59 | void snd_opl4_read_memory(struct snd_opl4 *opl4, char *buf, int offset, int size) |
56 | { | 60 | { |
57 | unsigned long flags; | 61 | unsigned long flags; |
@@ -76,6 +80,8 @@ void snd_opl4_read_memory(struct snd_opl4 *opl4, char *buf, int offset, int size | |||
76 | spin_unlock_irqrestore(&opl4->reg_lock, flags); | 80 | spin_unlock_irqrestore(&opl4->reg_lock, flags); |
77 | } | 81 | } |
78 | 82 | ||
83 | EXPORT_SYMBOL(snd_opl4_read_memory); | ||
84 | |||
79 | void snd_opl4_write_memory(struct snd_opl4 *opl4, const char *buf, int offset, int size) | 85 | void snd_opl4_write_memory(struct snd_opl4 *opl4, const char *buf, int offset, int size) |
80 | { | 86 | { |
81 | unsigned long flags; | 87 | unsigned long flags; |
@@ -100,6 +106,8 @@ void snd_opl4_write_memory(struct snd_opl4 *opl4, const char *buf, int offset, i | |||
100 | spin_unlock_irqrestore(&opl4->reg_lock, flags); | 106 | spin_unlock_irqrestore(&opl4->reg_lock, flags); |
101 | } | 107 | } |
102 | 108 | ||
109 | EXPORT_SYMBOL(snd_opl4_write_memory); | ||
110 | |||
103 | static void snd_opl4_enable_opl4(struct snd_opl4 *opl4) | 111 | static void snd_opl4_enable_opl4(struct snd_opl4 *opl4) |
104 | { | 112 | { |
105 | outb(OPL3_REG_MODE, opl4->fm_port + 2); | 113 | outb(OPL3_REG_MODE, opl4->fm_port + 2); |
@@ -256,10 +264,6 @@ int snd_opl4_create(struct snd_card *card, | |||
256 | return 0; | 264 | return 0; |
257 | } | 265 | } |
258 | 266 | ||
259 | EXPORT_SYMBOL(snd_opl4_write); | ||
260 | EXPORT_SYMBOL(snd_opl4_read); | ||
261 | EXPORT_SYMBOL(snd_opl4_write_memory); | ||
262 | EXPORT_SYMBOL(snd_opl4_read_memory); | ||
263 | EXPORT_SYMBOL(snd_opl4_create); | 267 | EXPORT_SYMBOL(snd_opl4_create); |
264 | 268 | ||
265 | static int __init alsa_opl4_init(void) | 269 | static int __init alsa_opl4_init(void) |