diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-04-11 10:58:24 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 04:00:32 -0400 |
commit | 01d25d460a3b28aab537fab9a0038d1b5832ce28 (patch) | |
tree | 2a3ce6727e4a5cbb0cd763f20698ebc169659fd1 /sound/pci/ice1712 | |
parent | 01ef355f0c34d6fbb451512e70e4cf336776b7fd (diff) |
[ALSA] Replace pci_module_init() with pci_register_driver()
Documentation,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver
AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver
ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver
Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver
RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver
ALI5451 driver,au88x0 driver,CA0106 driver,CS46xx driver
EMU10K1/EMU10K2 driver,HDA Intel driver,ICE1712 driver,ICE1724 driver
KORG1212 driver,MIXART driver,NM256 driver,RME HDSP driver
RME9652 driver,Trident driver,Digigram VX222 driver,YMFPCI driver
Replace the obsolete pci_module_init() with pci_register_driver().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712')
-rw-r--r-- | sound/pci/ice1712/ice1712.c | 2 | ||||
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index 79fba6be3503..a2545a5b26c4 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c | |||
@@ -2748,7 +2748,7 @@ static struct pci_driver driver = { | |||
2748 | 2748 | ||
2749 | static int __init alsa_card_ice1712_init(void) | 2749 | static int __init alsa_card_ice1712_init(void) |
2750 | { | 2750 | { |
2751 | return pci_module_init(&driver); | 2751 | return pci_register_driver(&driver); |
2752 | } | 2752 | } |
2753 | 2753 | ||
2754 | static void __exit alsa_card_ice1712_exit(void) | 2754 | static void __exit alsa_card_ice1712_exit(void) |
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index 95500f06f0c6..79b5f12e06fc 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c | |||
@@ -2328,7 +2328,7 @@ static struct pci_driver driver = { | |||
2328 | 2328 | ||
2329 | static int __init alsa_card_ice1724_init(void) | 2329 | static int __init alsa_card_ice1724_init(void) |
2330 | { | 2330 | { |
2331 | return pci_module_init(&driver); | 2331 | return pci_register_driver(&driver); |
2332 | } | 2332 | } |
2333 | 2333 | ||
2334 | static void __exit alsa_card_ice1724_exit(void) | 2334 | static void __exit alsa_card_ice1724_exit(void) |