summaryrefslogtreecommitdiffstats
path: root/include/sound/seq_device.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-02-11 22:39:51 +0100
committerTakashi Iwai <tiwai@suse.de>2015-02-12 11:35:11 +0100
commit72496edcf85e048b4c5373d518e4f27938d9594e (patch)
tree29f4a7a90c721f3dc44d02af7dd6003eaf7111b6 /include/sound/seq_device.h
parentALSA: seq: Move EXPORT_SYMBOL() after each function (diff)
downloadlinux-72496edcf85e048b4c5373d518e4f27938d9594e.tar.xz
linux-72496edcf85e048b4c5373d518e4f27938d9594e.zip
ALSA: seq: Don't compile snd_seq_device_load_drivers() for built-in
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/seq_device.h')
-rw-r--r--include/sound/seq_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/seq_device.h b/include/sound/seq_device.h
index 2b5f24cc7548..d52433563da2 100644
--- a/include/sound/seq_device.h
+++ b/include/sound/seq_device.h
@@ -67,7 +67,11 @@ struct snd_seq_dev_ops {
/*
* prototypes
*/
+#ifdef CONFIG_MODULES
void snd_seq_device_load_drivers(void);
+#else
+#define snd_seq_device_load_drivers()
+#endif
int snd_seq_device_new(struct snd_card *card, int device, char *id, int argsize, struct snd_seq_device **result);
int snd_seq_device_register_driver(char *id, struct snd_seq_dev_ops *entry, int argsize);
int snd_seq_device_unregister_driver(char *id);