diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-01-20 08:03:06 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-22 10:24:58 -0500 |
commit | 62af9905a1f809094f5209ae15d2ce69599a8123 (patch) | |
tree | 21fdbaf9b6a58fab6b833532132d968f1c71169b | |
parent | 2f25b7feab257bae406f1edb44438a347a1cc727 (diff) |
[ALSA] opl3sa2 - Fix conflict of driver name on sysfs
Modules: OPL3SA2 driver
Fix the conflict of driver name 'opl3sa2' on sysfs with OSS driver.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/isa/opl3sa2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/isa/opl3sa2.c b/sound/isa/opl3sa2.c index 84ffa8f0f26d..9dc6b20e9a5c 100644 --- a/sound/isa/opl3sa2.c +++ b/sound/isa/opl3sa2.c | |||
@@ -781,7 +781,7 @@ static int snd_opl3sa2_pnp_resume(struct pnp_dev *pdev) | |||
781 | #endif | 781 | #endif |
782 | 782 | ||
783 | static struct pnp_driver opl3sa2_pnp_driver = { | 783 | static struct pnp_driver opl3sa2_pnp_driver = { |
784 | .name = "opl3sa2-pnpbios", | 784 | .name = "snd-opl3sa2-pnpbios", |
785 | .id_table = snd_opl3sa2_pnpbiosids, | 785 | .id_table = snd_opl3sa2_pnpbiosids, |
786 | .probe = snd_opl3sa2_pnp_detect, | 786 | .probe = snd_opl3sa2_pnp_detect, |
787 | .remove = __devexit_p(snd_opl3sa2_pnp_remove), | 787 | .remove = __devexit_p(snd_opl3sa2_pnp_remove), |
@@ -848,7 +848,7 @@ static int snd_opl3sa2_pnp_cresume(struct pnp_card_link *pcard) | |||
848 | 848 | ||
849 | static struct pnp_card_driver opl3sa2_pnpc_driver = { | 849 | static struct pnp_card_driver opl3sa2_pnpc_driver = { |
850 | .flags = PNP_DRIVER_RES_DISABLE, | 850 | .flags = PNP_DRIVER_RES_DISABLE, |
851 | .name = "opl3sa2", | 851 | .name = "snd-opl3sa2-cpnp", |
852 | .id_table = snd_opl3sa2_pnpids, | 852 | .id_table = snd_opl3sa2_pnpids, |
853 | .probe = snd_opl3sa2_pnp_cdetect, | 853 | .probe = snd_opl3sa2_pnp_cdetect, |
854 | .remove = __devexit_p(snd_opl3sa2_pnp_cremove), | 854 | .remove = __devexit_p(snd_opl3sa2_pnp_cremove), |