[ALSA] Clean up EXPORT_SYMBOL()s in snd module
Move EXPORT_SYMBOL()s to places adjacent to functions/variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Jaroslav Kysela

parent
9bb22e215c
commit
c0d3fb39e9
@@ -111,12 +111,16 @@ int snd_iprintf(struct snd_info_buffer *buffer, char *fmt,...)
|
||||
return res;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_iprintf);
|
||||
|
||||
/*
|
||||
|
||||
*/
|
||||
|
||||
static struct proc_dir_entry *snd_proc_root = NULL;
|
||||
struct snd_info_entry *snd_seq_root = NULL;
|
||||
EXPORT_SYMBOL(snd_seq_root);
|
||||
|
||||
#ifdef CONFIG_SND_OSSEMUL
|
||||
struct snd_info_entry *snd_oss_root = NULL;
|
||||
#endif
|
||||
@@ -687,6 +691,8 @@ int snd_info_get_line(struct snd_info_buffer *buffer, char *line, int len)
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_info_get_line);
|
||||
|
||||
/**
|
||||
* snd_info_get_str - parse a string token
|
||||
* @dest: the buffer to store the string token
|
||||
@@ -723,6 +729,8 @@ char *snd_info_get_str(char *dest, char *src, int len)
|
||||
return src;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_info_get_str);
|
||||
|
||||
/**
|
||||
* snd_info_create_entry - create an info entry
|
||||
* @name: the proc file name
|
||||
@@ -774,6 +782,8 @@ struct snd_info_entry *snd_info_create_module_entry(struct module * module,
|
||||
return entry;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_info_create_module_entry);
|
||||
|
||||
/**
|
||||
* snd_info_create_card_entry - create an info entry for the given card
|
||||
* @card: the card instance
|
||||
@@ -797,6 +807,8 @@ struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card,
|
||||
return entry;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_info_create_card_entry);
|
||||
|
||||
static int snd_info_dev_free_entry(struct snd_device *device)
|
||||
{
|
||||
struct snd_info_entry *entry = device->device_data;
|
||||
@@ -867,6 +879,8 @@ int snd_card_proc_new(struct snd_card *card, const char *name,
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_card_proc_new);
|
||||
|
||||
/**
|
||||
* snd_info_free_entry - release the info entry
|
||||
* @entry: the info entry
|
||||
@@ -883,6 +897,8 @@ void snd_info_free_entry(struct snd_info_entry * entry)
|
||||
kfree(entry);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_info_free_entry);
|
||||
|
||||
/**
|
||||
* snd_info_register - register the info entry
|
||||
* @entry: the info entry
|
||||
@@ -913,6 +929,8 @@ int snd_info_register(struct snd_info_entry * entry)
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_info_register);
|
||||
|
||||
/**
|
||||
* snd_info_unregister - de-register the info entry
|
||||
* @entry: the info entry
|
||||
@@ -937,6 +955,8 @@ int snd_info_unregister(struct snd_info_entry * entry)
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_info_unregister);
|
||||
|
||||
/*
|
||||
|
||||
*/
|
||||
|
Reference in New Issue
Block a user