aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/seq/seq_device.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-02-11 22:37:16 +0100
committerTakashi Iwai <tiwai@suse.de>2015-02-12 11:35:11 +0100
commitb6a42670e074da39b5a9f990774359e0733ca9cd (patch)
tree8db52a268e091a7fe371791a0b1547a56a87bc63 /sound/core/seq/seq_device.c
parentALSA: seq: potential out of bounds in do_control() (diff)
downloadlinux-dev-b6a42670e074da39b5a9f990774359e0733ca9cd.tar.xz
linux-dev-b6a42670e074da39b5a9f990774359e0733ca9cd.zip
ALSA: seq: Move EXPORT_SYMBOL() after each function
... to follow the standard coding style. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/seq_device.c')
-rw-r--r--sound/core/seq/seq_device.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/sound/core/seq/seq_device.c b/sound/core/seq/seq_device.c
index 0631bdadd12b..a752a79a8d3a 100644
--- a/sound/core/seq/seq_device.c
+++ b/sound/core/seq/seq_device.c
@@ -133,11 +133,13 @@ void snd_seq_autoload_lock(void)
{
atomic_inc(&snd_seq_in_init);
}
+EXPORT_SYMBOL(snd_seq_autoload_lock);
void snd_seq_autoload_unlock(void)
{
atomic_dec(&snd_seq_in_init);
}
+EXPORT_SYMBOL(snd_seq_autoload_unlock);
static void autoload_drivers(void)
{
@@ -195,10 +197,12 @@ void snd_seq_autoload_init(void)
queue_autoload_drivers();
#endif
}
+EXPORT_SYMBOL(snd_seq_autoload_init);
#else
#define try_autoload(ops) /* NOP */
#endif
+
void snd_seq_device_load_drivers(void)
{
#ifdef CONFIG_MODULES
@@ -206,6 +210,7 @@ void snd_seq_device_load_drivers(void)
flush_work(&autoload_work);
#endif
}
+EXPORT_SYMBOL(snd_seq_device_load_drivers);
/*
* register a sequencer device
@@ -268,6 +273,7 @@ int snd_seq_device_new(struct snd_card *card, int device, char *id, int argsize,
return 0;
}
+EXPORT_SYMBOL(snd_seq_device_new);
/*
* free the existing device
@@ -326,6 +332,7 @@ static int snd_seq_device_dev_register(struct snd_device *device)
unlock_driver(ops);
return 0;
}
+EXPORT_SYMBOL(snd_seq_device_register_driver);
/*
* disconnect the device
@@ -344,6 +351,7 @@ static int snd_seq_device_dev_disconnect(struct snd_device *device)
unlock_driver(ops);
return 0;
}
+EXPORT_SYMBOL(snd_seq_device_unregister_driver);
/*
* register device driver
@@ -604,13 +612,3 @@ static void __exit alsa_seq_device_exit(void)
module_init(alsa_seq_device_init)
module_exit(alsa_seq_device_exit)
-
-EXPORT_SYMBOL(snd_seq_device_load_drivers);
-EXPORT_SYMBOL(snd_seq_device_new);
-EXPORT_SYMBOL(snd_seq_device_register_driver);
-EXPORT_SYMBOL(snd_seq_device_unregister_driver);
-#ifdef CONFIG_MODULES
-EXPORT_SYMBOL(snd_seq_autoload_init);
-EXPORT_SYMBOL(snd_seq_autoload_lock);
-EXPORT_SYMBOL(snd_seq_autoload_unlock);
-#endif