X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Fseq_kernel.h;h=4beca1952c76e10b0de5f5c02f6112b9bb6c61d7;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=a64fb3f9492e023052057fde4b3d61de5cefe7b1;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/sound/seq_kernel.h b/include/sound/seq_kernel.h index a64fb3f94..4beca1952 100644 --- a/include/sound/seq_kernel.h +++ b/include/sound/seq_kernel.h @@ -180,4 +180,12 @@ int snd_seq_event_port_attach(int client, snd_seq_port_callback_t *pcbp, int cap, int type, int midi_channels, int midi_voices, char *portname); int snd_seq_event_port_detach(int client, int port); +#ifdef CONFIG_KMOD +void snd_seq_autoload_lock(void); +void snd_seq_autoload_unlock(void); +#else +#define snd_seq_autoload_lock() +#define snd_seq_autoload_unlock() +#endif + #endif /* __SOUND_SEQ_KERNEL_H */