mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
ALSA: sound/ps3: Correct existing and add missing annotations
probe functions should be __devinit Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
cb6492e4a4
commit
2233123f27
1 changed files with 6 additions and 6 deletions
|
@ -785,7 +785,7 @@ static struct snd_pcm_ops snd_ps3_pcm_spdif_ops = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static int snd_ps3_map_mmio(void)
|
static int __devinit snd_ps3_map_mmio(void)
|
||||||
{
|
{
|
||||||
the_card.mapped_mmio_vaddr =
|
the_card.mapped_mmio_vaddr =
|
||||||
ioremap(the_card.ps3_dev->m_region->bus_addr,
|
ioremap(the_card.ps3_dev->m_region->bus_addr,
|
||||||
|
@ -807,7 +807,7 @@ static void snd_ps3_unmap_mmio(void)
|
||||||
the_card.mapped_mmio_vaddr = NULL;
|
the_card.mapped_mmio_vaddr = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int snd_ps3_allocate_irq(void)
|
static int __devinit snd_ps3_allocate_irq(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
u64 lpar_addr, lpar_size;
|
u64 lpar_addr, lpar_size;
|
||||||
|
@ -865,7 +865,7 @@ static void snd_ps3_free_irq(void)
|
||||||
ps3_irq_plug_destroy(the_card.irq_no);
|
ps3_irq_plug_destroy(the_card.irq_no);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void snd_ps3_audio_set_base_addr(uint64_t ioaddr_start)
|
static void __devinit snd_ps3_audio_set_base_addr(uint64_t ioaddr_start)
|
||||||
{
|
{
|
||||||
uint64_t val;
|
uint64_t val;
|
||||||
int ret;
|
int ret;
|
||||||
|
@ -881,7 +881,7 @@ static void snd_ps3_audio_set_base_addr(uint64_t ioaddr_start)
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void snd_ps3_audio_fixup(struct snd_ps3_card_info *card)
|
static void __devinit snd_ps3_audio_fixup(struct snd_ps3_card_info *card)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* avsetting driver seems to never change the followings
|
* avsetting driver seems to never change the followings
|
||||||
|
@ -905,7 +905,7 @@ static void snd_ps3_audio_fixup(struct snd_ps3_card_info *card)
|
||||||
PS3_AUDIO_AO_3WMCTRL_ASOPLRCK_DEFAULT);
|
PS3_AUDIO_AO_3WMCTRL_ASOPLRCK_DEFAULT);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int snd_ps3_init_avsetting(struct snd_ps3_card_info *card)
|
static int __devinit snd_ps3_init_avsetting(struct snd_ps3_card_info *card)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
pr_debug("%s: start\n", __func__);
|
pr_debug("%s: start\n", __func__);
|
||||||
|
@ -927,7 +927,7 @@ static int snd_ps3_init_avsetting(struct snd_ps3_card_info *card)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __init snd_ps3_driver_probe(struct ps3_system_bus_device *dev)
|
static int __devinit snd_ps3_driver_probe(struct ps3_system_bus_device *dev)
|
||||||
{
|
{
|
||||||
int i, ret;
|
int i, ret;
|
||||||
u64 lpar_addr, lpar_size;
|
u64 lpar_addr, lpar_size;
|
||||||
|
|
Loading…
Reference in a new issue