ALSA: core: Follow standard EXPORT_SYMBOL() declarations
Just a tidy up to follow the standard EXPORT_SYMBOL*() declarations in order to improve grep-ability. - Move EXPORT_SYMBOL*() to the position right after its definition - Remove superfluous blank line before EXPORT_SYMBOL*() lines Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -452,7 +452,6 @@ int snd_card_disconnect(struct snd_card *card)
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_card_disconnect);
|
||||
|
||||
static int snd_card_do_free(struct snd_card *card)
|
||||
@@ -718,7 +717,7 @@ int snd_card_add_dev_attr(struct snd_card *card,
|
||||
|
||||
dev_err(card->dev, "Too many groups assigned\n");
|
||||
return -ENOSPC;
|
||||
};
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(snd_card_add_dev_attr);
|
||||
|
||||
/**
|
||||
@@ -775,7 +774,6 @@ int snd_card_register(struct snd_card *card)
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_card_register);
|
||||
|
||||
#ifdef CONFIG_SND_PROC_FS
|
||||
@@ -895,7 +893,6 @@ int snd_component_add(struct snd_card *card, const char *component)
|
||||
strcat(card->components, component);
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_component_add);
|
||||
|
||||
/**
|
||||
@@ -930,7 +927,6 @@ int snd_card_file_add(struct snd_card *card, struct file *file)
|
||||
spin_unlock(&card->files_lock);
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_card_file_add);
|
||||
|
||||
/**
|
||||
@@ -972,7 +968,6 @@ int snd_card_file_remove(struct snd_card *card, struct file *file)
|
||||
put_device(&card->card_dev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_card_file_remove);
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
@@ -1012,6 +1007,5 @@ int snd_power_wait(struct snd_card *card, unsigned int power_state)
|
||||
remove_wait_queue(&card->power_sleep, &wait);
|
||||
return result;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_power_wait);
|
||||
#endif /* CONFIG_PM */
|
||||
|
Reference in New Issue
Block a user