ALSA: pci: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Этот коммит содержится в:

коммит произвёл
Takashi Iwai

родитель
445a51b353
Коммит
e23e7a1436
@@ -637,7 +637,7 @@ int snd_p16v_free(struct snd_emu10k1 *chip)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __devinit snd_p16v_pcm(struct snd_emu10k1 *emu, int device, struct snd_pcm **rpcm)
|
||||
int snd_p16v_pcm(struct snd_emu10k1 *emu, int device, struct snd_pcm **rpcm)
|
||||
{
|
||||
struct snd_pcm *pcm;
|
||||
struct snd_pcm_substream *substream;
|
||||
@@ -854,7 +854,7 @@ static const DECLARE_TLV_DB_SCALE(snd_p16v_db_scale1, -5175, 25, 1);
|
||||
.private_value = ((xreg) | ((xhl) << 8)) \
|
||||
}
|
||||
|
||||
static struct snd_kcontrol_new p16v_mixer_controls[] __devinitdata = {
|
||||
static struct snd_kcontrol_new p16v_mixer_controls[] = {
|
||||
P16V_VOL("HD Analog Front Playback Volume", PLAYBACK_VOLUME_MIXER9, 0),
|
||||
P16V_VOL("HD Analog Rear Playback Volume", PLAYBACK_VOLUME_MIXER10, 1),
|
||||
P16V_VOL("HD Analog Center/LFE Playback Volume", PLAYBACK_VOLUME_MIXER9, 1),
|
||||
@@ -880,7 +880,7 @@ static struct snd_kcontrol_new p16v_mixer_controls[] __devinitdata = {
|
||||
};
|
||||
|
||||
|
||||
int __devinit snd_p16v_mixer(struct snd_emu10k1 *emu)
|
||||
int snd_p16v_mixer(struct snd_emu10k1 *emu)
|
||||
{
|
||||
int i, err;
|
||||
struct snd_card *card = emu->card;
|
||||
@@ -897,7 +897,7 @@ int __devinit snd_p16v_mixer(struct snd_emu10k1 *emu)
|
||||
|
||||
#define NUM_CHS 1 /* up to 4, but only first channel is used */
|
||||
|
||||
int __devinit snd_p16v_alloc_pm_buffer(struct snd_emu10k1 *emu)
|
||||
int snd_p16v_alloc_pm_buffer(struct snd_emu10k1 *emu)
|
||||
{
|
||||
emu->p16v_saved = vmalloc(NUM_CHS * 4 * 0x80);
|
||||
if (! emu->p16v_saved)
|
||||
|
Ссылка в новой задаче
Block a user