[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
@@ -63,6 +63,8 @@ int snd_device_new(struct snd_card *card, snd_device_type_t type,
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_device_new);
|
||||
|
||||
/**
|
||||
* snd_device_free - release the device from the card
|
||||
* @card: the card instance
|
||||
@@ -107,6 +109,8 @@ int snd_device_free(struct snd_card *card, void *device_data)
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_device_free);
|
||||
|
||||
/**
|
||||
* snd_device_disconnect - disconnect the device
|
||||
* @card: the card instance
|
||||
@@ -182,6 +186,8 @@ int snd_device_register(struct snd_card *card, void *device_data)
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(snd_device_register);
|
||||
|
||||
/*
|
||||
* register all the devices on the card.
|
||||
* called from init.c
|
||||
|
||||
Reference in New Issue
Block a user