[ALSA] Clean up EXPORT_SYMBOL()s in snd-seq module
Move EXPORT_SYMBOL()s to places adjacent to functions/variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
c0d3fb39e9
commit
91715ed934
5 changed files with 20 additions and 22 deletions
|
@ -129,25 +129,3 @@ static void __exit alsa_seq_exit(void)
|
||||||
|
|
||||||
module_init(alsa_seq_init)
|
module_init(alsa_seq_init)
|
||||||
module_exit(alsa_seq_exit)
|
module_exit(alsa_seq_exit)
|
||||||
|
|
||||||
/* seq_clientmgr.c */
|
|
||||||
EXPORT_SYMBOL(snd_seq_create_kernel_client);
|
|
||||||
EXPORT_SYMBOL(snd_seq_delete_kernel_client);
|
|
||||||
EXPORT_SYMBOL(snd_seq_kernel_client_enqueue);
|
|
||||||
EXPORT_SYMBOL(snd_seq_kernel_client_enqueue_blocking);
|
|
||||||
EXPORT_SYMBOL(snd_seq_kernel_client_dispatch);
|
|
||||||
EXPORT_SYMBOL(snd_seq_kernel_client_ctl);
|
|
||||||
EXPORT_SYMBOL(snd_seq_kernel_client_write_poll);
|
|
||||||
EXPORT_SYMBOL(snd_seq_set_queue_tempo);
|
|
||||||
/* seq_memory.c */
|
|
||||||
EXPORT_SYMBOL(snd_seq_expand_var_event);
|
|
||||||
EXPORT_SYMBOL(snd_seq_dump_var_event);
|
|
||||||
/* seq_ports.c */
|
|
||||||
EXPORT_SYMBOL(snd_seq_event_port_attach);
|
|
||||||
EXPORT_SYMBOL(snd_seq_event_port_detach);
|
|
||||||
/* seq_lock.c */
|
|
||||||
#if defined(CONFIG_SMP) || defined(CONFIG_SND_DEBUG)
|
|
||||||
/*EXPORT_SYMBOL(snd_seq_sleep_in_lock);*/
|
|
||||||
/*EXPORT_SYMBOL(snd_seq_sleep_timeout_in_lock);*/
|
|
||||||
EXPORT_SYMBOL(snd_use_lock_sync_helper);
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -1714,6 +1714,8 @@ int snd_seq_set_queue_tempo(int client, struct snd_seq_queue_tempo *tempo)
|
||||||
return snd_seq_queue_timer_set_tempo(tempo->queue, client, tempo);
|
return snd_seq_queue_timer_set_tempo(tempo->queue, client, tempo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_set_queue_tempo);
|
||||||
|
|
||||||
static int snd_seq_ioctl_set_queue_tempo(struct snd_seq_client *client,
|
static int snd_seq_ioctl_set_queue_tempo(struct snd_seq_client *client,
|
||||||
void __user *arg)
|
void __user *arg)
|
||||||
{
|
{
|
||||||
|
@ -2264,6 +2266,8 @@ int snd_seq_create_kernel_client(struct snd_card *card, int client_index,
|
||||||
return client->number;
|
return client->number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_create_kernel_client);
|
||||||
|
|
||||||
/* exported to kernel modules */
|
/* exported to kernel modules */
|
||||||
int snd_seq_delete_kernel_client(int client)
|
int snd_seq_delete_kernel_client(int client)
|
||||||
{
|
{
|
||||||
|
@ -2280,6 +2284,7 @@ int snd_seq_delete_kernel_client(int client)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_delete_kernel_client);
|
||||||
|
|
||||||
/* skeleton to enqueue event, called from snd_seq_kernel_client_enqueue
|
/* skeleton to enqueue event, called from snd_seq_kernel_client_enqueue
|
||||||
* and snd_seq_kernel_client_enqueue_blocking
|
* and snd_seq_kernel_client_enqueue_blocking
|
||||||
|
@ -2328,6 +2333,8 @@ int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event * ev,
|
||||||
return kernel_client_enqueue(client, ev, NULL, 0, atomic, hop);
|
return kernel_client_enqueue(client, ev, NULL, 0, atomic, hop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_kernel_client_enqueue);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* exported, called by kernel clients to enqueue events (with blocking)
|
* exported, called by kernel clients to enqueue events (with blocking)
|
||||||
*
|
*
|
||||||
|
@ -2340,6 +2347,7 @@ int snd_seq_kernel_client_enqueue_blocking(int client, struct snd_seq_event * ev
|
||||||
return kernel_client_enqueue(client, ev, file, 1, atomic, hop);
|
return kernel_client_enqueue(client, ev, file, 1, atomic, hop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_kernel_client_enqueue_blocking);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* exported, called by kernel clients to dispatch events directly to other
|
* exported, called by kernel clients to dispatch events directly to other
|
||||||
|
@ -2376,6 +2384,7 @@ int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event * ev,
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_kernel_client_dispatch);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* exported, called by kernel clients to perform same functions as with
|
* exported, called by kernel clients to perform same functions as with
|
||||||
|
@ -2396,6 +2405,7 @@ int snd_seq_kernel_client_ctl(int clientid, unsigned int cmd, void *arg)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_kernel_client_ctl);
|
||||||
|
|
||||||
/* exported (for OSS emulator) */
|
/* exported (for OSS emulator) */
|
||||||
int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait)
|
int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait)
|
||||||
|
@ -2413,6 +2423,8 @@ int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_kernel_client_write_poll);
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifdef CONFIG_PROC_FS
|
#ifdef CONFIG_PROC_FS
|
||||||
|
|
|
@ -44,4 +44,6 @@ void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_use_lock_sync_helper);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -118,6 +118,8 @@ int snd_seq_dump_var_event(const struct snd_seq_event *event,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_dump_var_event);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* exported:
|
* exported:
|
||||||
|
@ -167,6 +169,7 @@ int snd_seq_expand_var_event(const struct snd_seq_event *event, int count, char
|
||||||
return err < 0 ? err : newlen;
|
return err < 0 ? err : newlen;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_expand_var_event);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* release this cell, free extended data if available
|
* release this cell, free extended data if available
|
||||||
|
|
|
@ -677,6 +677,7 @@ int snd_seq_event_port_attach(int client,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_event_port_attach);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Detach the driver from a port.
|
* Detach the driver from a port.
|
||||||
|
@ -696,3 +697,5 @@ int snd_seq_event_port_detach(int client, int port)
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(snd_seq_event_port_detach);
|
||||||
|
|
Loading…
Reference in a new issue