]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/sound/seq_kernel.h
m68k: remove the dead PCI code
[linux-2.6-omap-h63xx.git] / include / sound / seq_kernel.h
index 1b60890b44cde88373ac42e80cc12d1190c56257..3d9afb6a8c9cd86b5ead0d9ccccaa49614f47fd8 100644 (file)
@@ -60,15 +60,6 @@ typedef union snd_seq_timestamp snd_seq_timestamp_t;
 /* max size of event size */
 #define SNDRV_SEQ_MAX_EVENT_LEN                0x3fffffff
 
-/* call-backs for kernel client */
-
-struct snd_seq_client_callback {
-       void *private_data;
-       unsigned allow_input: 1,
-                allow_output: 1;
-       /*...*/
-};
-
 /* call-backs for kernel port */
 struct snd_seq_port_callback {
        struct module *owner;
@@ -85,7 +76,8 @@ struct snd_seq_port_callback {
 
 /* interface for kernel client */
 int snd_seq_create_kernel_client(struct snd_card *card, int client_index,
-                                struct snd_seq_client_callback *callback);
+                                const char *name_fmt, ...)
+       __attribute__ ((format (printf, 3, 4)));
 int snd_seq_delete_kernel_client(int client);
 int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev, int atomic, int hop);
 int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop);
@@ -113,7 +105,7 @@ int snd_seq_event_port_attach(int client, struct snd_seq_port_callback *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
+#ifdef CONFIG_MODULES
 void snd_seq_autoload_lock(void);
 void snd_seq_autoload_unlock(void);
 #else