]> Pileus Git - ~andy/linux/blobdiff - sound/core/seq/seq_clientmgr.h
Merge tag 'v3.8-rc4' into irq/core
[~andy/linux] / sound / core / seq / seq_clientmgr.h
index 9df562425e3c7270348fb904e6ec1cd2d5a956cb..20f0a725ec7db293a1edc18c83af60fe3ab11d34 100644 (file)
@@ -40,9 +40,6 @@ struct snd_seq_user_client {
 };
 
 struct snd_seq_kernel_client {
-       struct snd_card *card;
-       /* pointer to client functions */
-       void *private_data;                     /* private data for client */
        /* ... */
 };
 
@@ -61,7 +58,7 @@ struct snd_seq_client {
        int num_ports;          /* number of ports */
        struct list_head ports_list_head;
        rwlock_t ports_lock;
-       struct semaphore ports_mutex;
+       struct mutex ports_mutex;
        int convert32;          /* convert 32->64bit */
 
        /* output pool */
@@ -94,8 +91,6 @@ struct snd_seq_client *snd_seq_client_use_ptr(int clientid);
 int snd_seq_dispatch_event(struct snd_seq_event_cell *cell, int atomic, int hop);
 
 /* exported to other modules */
-int snd_seq_register_kernel_client(struct snd_seq_client_callback *callback, void *private_data);
-int snd_seq_unregister_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_enqueue_blocking(int client, struct snd_seq_event * ev,
                                           struct file *file, int atomic, int hop);
@@ -103,4 +98,6 @@ int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table
 int snd_seq_client_notify_subscription(int client, int port,
                                       struct snd_seq_port_subscribe *info, int evtype);
 
+extern int seq_client_load[15];
+
 #endif