aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:22 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:32:38 -0500
commit5cc3203f72d89064da315529103f277124f57005 (patch)
tree27b520f26c93330182595690687ccb7c5bc1f775 /sound
parent1bff292e9abec7477d43abb2b93c7fd26c44859b (diff)
ALSA: sound/ps3: 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> Acked-by: Geoff Levand <geoff@infradead.org> Cc: linuxppc-dev@lists.ozlabs.org Cc: cbe-oss-dev@lists.ozlabs.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/ppc/snd_ps3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c
index 9b18b5243a56..8c7dcbe0118d 100644
--- a/sound/ppc/snd_ps3.c
+++ b/sound/ppc/snd_ps3.c
@@ -786,7 +786,7 @@ static struct snd_pcm_ops snd_ps3_pcm_spdif_ops = {
786}; 786};
787 787
788 788
789static int __devinit snd_ps3_map_mmio(void) 789static int snd_ps3_map_mmio(void)
790{ 790{
791 the_card.mapped_mmio_vaddr = 791 the_card.mapped_mmio_vaddr =
792 ioremap(the_card.ps3_dev->m_region->bus_addr, 792 ioremap(the_card.ps3_dev->m_region->bus_addr,
@@ -808,7 +808,7 @@ static void snd_ps3_unmap_mmio(void)
808 the_card.mapped_mmio_vaddr = NULL; 808 the_card.mapped_mmio_vaddr = NULL;
809} 809}
810 810
811static int __devinit snd_ps3_allocate_irq(void) 811static int snd_ps3_allocate_irq(void)
812{ 812{
813 int ret; 813 int ret;
814 u64 lpar_addr, lpar_size; 814 u64 lpar_addr, lpar_size;
@@ -866,7 +866,7 @@ static void snd_ps3_free_irq(void)
866 ps3_irq_plug_destroy(the_card.irq_no); 866 ps3_irq_plug_destroy(the_card.irq_no);
867} 867}
868 868
869static void __devinit snd_ps3_audio_set_base_addr(uint64_t ioaddr_start) 869static void snd_ps3_audio_set_base_addr(uint64_t ioaddr_start)
870{ 870{
871 uint64_t val; 871 uint64_t val;
872 int ret; 872 int ret;
@@ -882,7 +882,7 @@ static void __devinit snd_ps3_audio_set_base_addr(uint64_t ioaddr_start)
882 ret); 882 ret);
883} 883}
884 884
885static void __devinit snd_ps3_audio_fixup(struct snd_ps3_card_info *card) 885static void snd_ps3_audio_fixup(struct snd_ps3_card_info *card)
886{ 886{
887 /* 887 /*
888 * avsetting driver seems to never change the followings 888 * avsetting driver seems to never change the followings
@@ -906,7 +906,7 @@ static void __devinit snd_ps3_audio_fixup(struct snd_ps3_card_info *card)
906 PS3_AUDIO_AO_3WMCTRL_ASOPLRCK_DEFAULT); 906 PS3_AUDIO_AO_3WMCTRL_ASOPLRCK_DEFAULT);
907} 907}
908 908
909static int __devinit snd_ps3_init_avsetting(struct snd_ps3_card_info *card) 909static int snd_ps3_init_avsetting(struct snd_ps3_card_info *card)
910{ 910{
911 int ret; 911 int ret;
912 pr_debug("%s: start\n", __func__); 912 pr_debug("%s: start\n", __func__);
@@ -928,7 +928,7 @@ static int __devinit snd_ps3_init_avsetting(struct snd_ps3_card_info *card)
928 return ret; 928 return ret;
929} 929}
930 930
931static int __devinit snd_ps3_driver_probe(struct ps3_system_bus_device *dev) 931static int snd_ps3_driver_probe(struct ps3_system_bus_device *dev)
932{ 932{
933 int i, ret; 933 int i, ret;
934 u64 lpar_addr, lpar_size; 934 u64 lpar_addr, lpar_size;