diff options
Diffstat (limited to 'sound')
41 files changed, 33 insertions, 69 deletions
diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c index d1f9da498729..c96c8a2aa1c2 100644 --- a/sound/arm/pxa2xx-ac97.c +++ b/sound/arm/pxa2xx-ac97.c | |||
@@ -275,9 +275,9 @@ static int pxa2xx_ac97_do_resume(snd_card_t *card) | |||
275 | return 0; | 275 | return 0; |
276 | } | 276 | } |
277 | 277 | ||
278 | static int pxa2xx_ac97_suspend(struct device *_dev, pm_message_t state) | 278 | static int pxa2xx_ac97_suspend(struct platform_device *dev, pm_message_t state) |
279 | { | 279 | { |
280 | snd_card_t *card = dev_get_drvdata(_dev); | 280 | snd_card_t *card = platform_get_drvdata(dev); |
281 | int ret = 0; | 281 | int ret = 0; |
282 | 282 | ||
283 | if (card) | 283 | if (card) |
@@ -286,9 +286,9 @@ static int pxa2xx_ac97_suspend(struct device *_dev, pm_message_t state) | |||
286 | return ret; | 286 | return ret; |
287 | } | 287 | } |
288 | 288 | ||
289 | static int pxa2xx_ac97_resume(struct device *_dev) | 289 | static int pxa2xx_ac97_resume(struct platform_device *dev) |
290 | { | 290 | { |
291 | snd_card_t *card = dev_get_drvdata(_dev); | 291 | snd_card_t *card = platform_get_drvdata(dev); |
292 | int ret = 0; | 292 | int ret = 0; |
293 | 293 | ||
294 | if (card) | 294 | if (card) |
@@ -302,7 +302,7 @@ static int pxa2xx_ac97_resume(struct device *_dev) | |||
302 | #define pxa2xx_ac97_resume NULL | 302 | #define pxa2xx_ac97_resume NULL |
303 | #endif | 303 | #endif |
304 | 304 | ||
305 | static int pxa2xx_ac97_probe(struct device *dev) | 305 | static int pxa2xx_ac97_probe(struct platform_device *dev) |
306 | { | 306 | { |
307 | snd_card_t *card; | 307 | snd_card_t *card; |
308 | ac97_bus_t *ac97_bus; | 308 | ac97_bus_t *ac97_bus; |
@@ -315,8 +315,8 @@ static int pxa2xx_ac97_probe(struct device *dev) | |||
315 | if (!card) | 315 | if (!card) |
316 | goto err; | 316 | goto err; |
317 | 317 | ||
318 | card->dev = dev; | 318 | card->dev = &dev->dev; |
319 | strncpy(card->driver, dev->driver->name, sizeof(card->driver)); | 319 | strncpy(card->driver, dev->dev.driver->name, sizeof(card->driver)); |
320 | 320 | ||
321 | ret = pxa2xx_pcm_new(card, &pxa2xx_ac97_pcm_client, &pxa2xx_ac97_pcm); | 321 | ret = pxa2xx_pcm_new(card, &pxa2xx_ac97_pcm_client, &pxa2xx_ac97_pcm); |
322 | if (ret) | 322 | if (ret) |
@@ -347,13 +347,13 @@ static int pxa2xx_ac97_probe(struct device *dev) | |||
347 | snprintf(card->shortname, sizeof(card->shortname), | 347 | snprintf(card->shortname, sizeof(card->shortname), |
348 | "%s", snd_ac97_get_short_name(pxa2xx_ac97_ac97)); | 348 | "%s", snd_ac97_get_short_name(pxa2xx_ac97_ac97)); |
349 | snprintf(card->longname, sizeof(card->longname), | 349 | snprintf(card->longname, sizeof(card->longname), |
350 | "%s (%s)", dev->driver->name, card->mixername); | 350 | "%s (%s)", dev->dev.driver->name, card->mixername); |
351 | 351 | ||
352 | snd_card_set_pm_callback(card, pxa2xx_ac97_do_suspend, | 352 | snd_card_set_pm_callback(card, pxa2xx_ac97_do_suspend, |
353 | pxa2xx_ac97_do_resume, NULL); | 353 | pxa2xx_ac97_do_resume, NULL); |
354 | ret = snd_card_register(card); | 354 | ret = snd_card_register(card); |
355 | if (ret == 0) { | 355 | if (ret == 0) { |
356 | dev_set_drvdata(dev, card); | 356 | platform_set_drvdata(dev, card); |
357 | return 0; | 357 | return 0; |
358 | } | 358 | } |
359 | 359 | ||
@@ -368,13 +368,13 @@ static int pxa2xx_ac97_probe(struct device *dev) | |||
368 | return ret; | 368 | return ret; |
369 | } | 369 | } |
370 | 370 | ||
371 | static int pxa2xx_ac97_remove(struct device *dev) | 371 | static int pxa2xx_ac97_remove(struct platform_device *dev) |
372 | { | 372 | { |
373 | snd_card_t *card = dev_get_drvdata(dev); | 373 | snd_card_t *card = platform_get_drvdata(dev); |
374 | 374 | ||
375 | if (card) { | 375 | if (card) { |
376 | snd_card_free(card); | 376 | snd_card_free(card); |
377 | dev_set_drvdata(dev, NULL); | 377 | platform_set_drvdata(dev, NULL); |
378 | GCR |= GCR_ACLINK_OFF; | 378 | GCR |= GCR_ACLINK_OFF; |
379 | free_irq(IRQ_AC97, NULL); | 379 | free_irq(IRQ_AC97, NULL); |
380 | pxa_set_cken(CKEN2_AC97, 0); | 380 | pxa_set_cken(CKEN2_AC97, 0); |
@@ -383,23 +383,24 @@ static int pxa2xx_ac97_remove(struct device *dev) | |||
383 | return 0; | 383 | return 0; |
384 | } | 384 | } |
385 | 385 | ||
386 | static struct device_driver pxa2xx_ac97_driver = { | 386 | static struct platform_driver pxa2xx_ac97_driver = { |
387 | .name = "pxa2xx-ac97", | ||
388 | .bus = &platform_bus_type, | ||
389 | .probe = pxa2xx_ac97_probe, | 387 | .probe = pxa2xx_ac97_probe, |
390 | .remove = pxa2xx_ac97_remove, | 388 | .remove = pxa2xx_ac97_remove, |
391 | .suspend = pxa2xx_ac97_suspend, | 389 | .suspend = pxa2xx_ac97_suspend, |
392 | .resume = pxa2xx_ac97_resume, | 390 | .resume = pxa2xx_ac97_resume, |
391 | .driver = { | ||
392 | .name = "pxa2xx-ac97", | ||
393 | }, | ||
393 | }; | 394 | }; |
394 | 395 | ||
395 | static int __init pxa2xx_ac97_init(void) | 396 | static int __init pxa2xx_ac97_init(void) |
396 | { | 397 | { |
397 | return driver_register(&pxa2xx_ac97_driver); | 398 | return platform_driver_register(&pxa2xx_ac97_driver); |
398 | } | 399 | } |
399 | 400 | ||
400 | static void __exit pxa2xx_ac97_exit(void) | 401 | static void __exit pxa2xx_ac97_exit(void) |
401 | { | 402 | { |
402 | driver_unregister(&pxa2xx_ac97_driver); | 403 | platform_driver_unregister(&pxa2xx_ac97_driver); |
403 | } | 404 | } |
404 | 405 | ||
405 | module_init(pxa2xx_ac97_init); | 406 | module_init(pxa2xx_ac97_init); |
diff --git a/sound/core/init.c b/sound/core/init.c index d9ee27ae9a51..33813f92ab52 100644 --- a/sound/core/init.c +++ b/sound/core/init.c | |||
@@ -674,23 +674,24 @@ struct snd_generic_device { | |||
674 | snd_card_t *card; | 674 | snd_card_t *card; |
675 | }; | 675 | }; |
676 | 676 | ||
677 | #define get_snd_generic_card(dev) container_of(to_platform_device(dev), struct snd_generic_device, pdev)->card | 677 | #define get_snd_generic_card(dev) container_of(dev, struct snd_generic_device, pdev)->card |
678 | 678 | ||
679 | #define SND_GENERIC_NAME "snd_generic" | 679 | #define SND_GENERIC_NAME "snd_generic" |
680 | 680 | ||
681 | #ifdef CONFIG_PM | 681 | #ifdef CONFIG_PM |
682 | static int snd_generic_suspend(struct device *dev, pm_message_t state); | 682 | static int snd_generic_suspend(struct platform_device *dev, pm_message_t state); |
683 | static int snd_generic_resume(struct device *dev); | 683 | static int snd_generic_resume(struct platform_device *dev); |
684 | #endif | 684 | #endif |
685 | 685 | ||
686 | /* initialized in sound.c */ | 686 | /* initialized in sound.c */ |
687 | struct device_driver snd_generic_driver = { | 687 | struct platform_driver snd_generic_driver = { |
688 | .name = SND_GENERIC_NAME, | ||
689 | .bus = &platform_bus_type, | ||
690 | #ifdef CONFIG_PM | 688 | #ifdef CONFIG_PM |
691 | .suspend = snd_generic_suspend, | 689 | .suspend = snd_generic_suspend, |
692 | .resume = snd_generic_resume, | 690 | .resume = snd_generic_resume, |
693 | #endif | 691 | #endif |
692 | .driver = { | ||
693 | .name = SND_GENERIC_NAME, | ||
694 | }, | ||
694 | }; | 695 | }; |
695 | 696 | ||
696 | void snd_generic_device_release(struct device *dev) | 697 | void snd_generic_device_release(struct device *dev) |
@@ -821,7 +822,7 @@ int snd_card_set_pm_callback(snd_card_t *card, | |||
821 | 822 | ||
822 | #ifdef CONFIG_SND_GENERIC_DRIVER | 823 | #ifdef CONFIG_SND_GENERIC_DRIVER |
823 | /* suspend/resume callbacks for snd_generic platform device */ | 824 | /* suspend/resume callbacks for snd_generic platform device */ |
824 | static int snd_generic_suspend(struct device *dev, pm_message_t state) | 825 | static int snd_generic_suspend(struct platform_device *dev, pm_message_t state) |
825 | { | 826 | { |
826 | snd_card_t *card; | 827 | snd_card_t *card; |
827 | 828 | ||
@@ -834,7 +835,7 @@ static int snd_generic_suspend(struct device *dev, pm_message_t state) | |||
834 | return 0; | 835 | return 0; |
835 | } | 836 | } |
836 | 837 | ||
837 | static int snd_generic_resume(struct device *dev) | 838 | static int snd_generic_resume(struct platform_device *dev) |
838 | { | 839 | { |
839 | snd_card_t *card; | 840 | snd_card_t *card; |
840 | 841 | ||
diff --git a/sound/core/sound.c b/sound/core/sound.c index 1139dd8ca8eb..6e7cad1e947e 100644 --- a/sound/core/sound.c +++ b/sound/core/sound.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <sound/initval.h> | 32 | #include <sound/initval.h> |
33 | #include <linux/kmod.h> | 33 | #include <linux/kmod.h> |
34 | #include <linux/devfs_fs_kernel.h> | 34 | #include <linux/devfs_fs_kernel.h> |
35 | #include <linux/device.h> | 35 | #include <linux/platform_device.h> |
36 | 36 | ||
37 | #define SNDRV_OS_MINORS 256 | 37 | #define SNDRV_OS_MINORS 256 |
38 | 38 | ||
@@ -329,7 +329,7 @@ int __exit snd_minor_info_done(void) | |||
329 | */ | 329 | */ |
330 | 330 | ||
331 | #ifdef CONFIG_SND_GENERIC_DRIVER | 331 | #ifdef CONFIG_SND_GENERIC_DRIVER |
332 | extern struct device_driver snd_generic_driver; | 332 | extern struct platform_driver snd_generic_driver; |
333 | #endif | 333 | #endif |
334 | 334 | ||
335 | static int __init alsa_sound_init(void) | 335 | static int __init alsa_sound_init(void) |
@@ -357,7 +357,7 @@ static int __init alsa_sound_init(void) | |||
357 | } | 357 | } |
358 | snd_info_minor_register(); | 358 | snd_info_minor_register(); |
359 | #ifdef CONFIG_SND_GENERIC_DRIVER | 359 | #ifdef CONFIG_SND_GENERIC_DRIVER |
360 | driver_register(&snd_generic_driver); | 360 | platform_driver_register(&snd_generic_driver); |
361 | #endif | 361 | #endif |
362 | for (controlnum = 0; controlnum < cards_limit; controlnum++) | 362 | for (controlnum = 0; controlnum < cards_limit; controlnum++) |
363 | devfs_mk_cdev(MKDEV(major, controlnum<<5), S_IFCHR | device_mode, "snd/controlC%d", controlnum); | 363 | devfs_mk_cdev(MKDEV(major, controlnum<<5), S_IFCHR | device_mode, "snd/controlC%d", controlnum); |
@@ -375,7 +375,7 @@ static void __exit alsa_sound_exit(void) | |||
375 | devfs_remove("snd/controlC%d", controlnum); | 375 | devfs_remove("snd/controlC%d", controlnum); |
376 | 376 | ||
377 | #ifdef CONFIG_SND_GENERIC_DRIVER | 377 | #ifdef CONFIG_SND_GENERIC_DRIVER |
378 | driver_unregister(&snd_generic_driver); | 378 | platform_driver_unregister(&snd_generic_driver); |
379 | #endif | 379 | #endif |
380 | snd_info_minor_unregister(); | 380 | snd_info_minor_unregister(); |
381 | snd_info_done(); | 381 | snd_info_done(); |
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c index e72ccd1a004f..1fdae678a345 100644 --- a/sound/pci/ad1889.c +++ b/sound/pci/ad1889.c | |||
@@ -1067,7 +1067,6 @@ MODULE_DEVICE_TABLE(pci, snd_ad1889_ids); | |||
1067 | 1067 | ||
1068 | static struct pci_driver ad1889_pci = { | 1068 | static struct pci_driver ad1889_pci = { |
1069 | .name = "AD1889 Audio", | 1069 | .name = "AD1889 Audio", |
1070 | .owner = THIS_MODULE, | ||
1071 | .id_table = snd_ad1889_ids, | 1070 | .id_table = snd_ad1889_ids, |
1072 | .probe = snd_ad1889_probe, | 1071 | .probe = snd_ad1889_probe, |
1073 | .remove = __devexit_p(snd_ad1889_remove), | 1072 | .remove = __devexit_p(snd_ad1889_remove), |
diff --git a/sound/pci/ali5451/ali5451.c b/sound/pci/ali5451/ali5451.c index 4e76c4a636d9..feffbe73387e 100644 --- a/sound/pci/ali5451/ali5451.c +++ b/sound/pci/ali5451/ali5451.c | |||
@@ -2403,7 +2403,6 @@ static void __devexit snd_ali_remove(struct pci_dev *pci) | |||
2403 | 2403 | ||
2404 | static struct pci_driver driver = { | 2404 | static struct pci_driver driver = { |
2405 | .name = "ALI 5451", | 2405 | .name = "ALI 5451", |
2406 | .owner = THIS_MODULE, | ||
2407 | .id_table = snd_ali_ids, | 2406 | .id_table = snd_ali_ids, |
2408 | .probe = snd_ali_probe, | 2407 | .probe = snd_ali_probe, |
2409 | .remove = __devexit_p(snd_ali_remove), | 2408 | .remove = __devexit_p(snd_ali_remove), |
diff --git a/sound/pci/als4000.c b/sound/pci/als4000.c index 7c61561f297f..1904df650265 100644 --- a/sound/pci/als4000.c +++ b/sound/pci/als4000.c | |||
@@ -768,7 +768,6 @@ static void __devexit snd_card_als4000_remove(struct pci_dev *pci) | |||
768 | 768 | ||
769 | static struct pci_driver driver = { | 769 | static struct pci_driver driver = { |
770 | .name = "ALS4000", | 770 | .name = "ALS4000", |
771 | .owner = THIS_MODULE, | ||
772 | .id_table = snd_als4000_ids, | 771 | .id_table = snd_als4000_ids, |
773 | .probe = snd_card_als4000_probe, | 772 | .probe = snd_card_als4000_probe, |
774 | .remove = __devexit_p(snd_card_als4000_remove), | 773 | .remove = __devexit_p(snd_card_als4000_remove), |
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c index f5dad9248e39..8bae10d93529 100644 --- a/sound/pci/atiixp.c +++ b/sound/pci/atiixp.c | |||
@@ -1635,7 +1635,6 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci) | |||
1635 | 1635 | ||
1636 | static struct pci_driver driver = { | 1636 | static struct pci_driver driver = { |
1637 | .name = "ATI IXP AC97 controller", | 1637 | .name = "ATI IXP AC97 controller", |
1638 | .owner = THIS_MODULE, | ||
1639 | .id_table = snd_atiixp_ids, | 1638 | .id_table = snd_atiixp_ids, |
1640 | .probe = snd_atiixp_probe, | 1639 | .probe = snd_atiixp_probe, |
1641 | .remove = __devexit_p(snd_atiixp_remove), | 1640 | .remove = __devexit_p(snd_atiixp_remove), |
diff --git a/sound/pci/atiixp_modem.c b/sound/pci/atiixp_modem.c index 0cf202079571..3174b6625419 100644 --- a/sound/pci/atiixp_modem.c +++ b/sound/pci/atiixp_modem.c | |||
@@ -1309,7 +1309,6 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci) | |||
1309 | 1309 | ||
1310 | static struct pci_driver driver = { | 1310 | static struct pci_driver driver = { |
1311 | .name = "ATI IXP MC97 controller", | 1311 | .name = "ATI IXP MC97 controller", |
1312 | .owner = THIS_MODULE, | ||
1313 | .id_table = snd_atiixp_ids, | 1312 | .id_table = snd_atiixp_ids, |
1314 | .probe = snd_atiixp_probe, | 1313 | .probe = snd_atiixp_probe, |
1315 | .remove = __devexit_p(snd_atiixp_remove), | 1314 | .remove = __devexit_p(snd_atiixp_remove), |
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c index 6af3b13f2fd1..d965609d8b38 100644 --- a/sound/pci/au88x0/au88x0.c +++ b/sound/pci/au88x0/au88x0.c | |||
@@ -373,7 +373,6 @@ static void __devexit snd_vortex_remove(struct pci_dev *pci) | |||
373 | // pci_driver definition | 373 | // pci_driver definition |
374 | static struct pci_driver driver = { | 374 | static struct pci_driver driver = { |
375 | .name = CARD_NAME_SHORT, | 375 | .name = CARD_NAME_SHORT, |
376 | .owner = THIS_MODULE, | ||
377 | .id_table = snd_vortex_ids, | 376 | .id_table = snd_vortex_ids, |
378 | .probe = snd_vortex_probe, | 377 | .probe = snd_vortex_probe, |
379 | .remove = __devexit_p(snd_vortex_remove), | 378 | .remove = __devexit_p(snd_vortex_remove), |
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index da99b1be2e8f..ab737d6df41d 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -1838,7 +1838,6 @@ snd_azf3328_remove(struct pci_dev *pci) | |||
1838 | 1838 | ||
1839 | static struct pci_driver driver = { | 1839 | static struct pci_driver driver = { |
1840 | .name = "AZF3328", | 1840 | .name = "AZF3328", |
1841 | .owner = THIS_MODULE, | ||
1842 | .id_table = snd_azf3328_ids, | 1841 | .id_table = snd_azf3328_ids, |
1843 | .probe = snd_azf3328_probe, | 1842 | .probe = snd_azf3328_probe, |
1844 | .remove = __devexit_p(snd_azf3328_remove), | 1843 | .remove = __devexit_p(snd_azf3328_remove), |
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index 01d98eeb242e..8feca228c6d4 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c | |||
@@ -897,14 +897,13 @@ static void __devexit snd_bt87x_remove(struct pci_dev *pci) | |||
897 | /* default entries for all Bt87x cards - it's not exported */ | 897 | /* default entries for all Bt87x cards - it's not exported */ |
898 | /* driver_data is set to 0 to call detection */ | 898 | /* driver_data is set to 0 to call detection */ |
899 | static struct pci_device_id snd_bt87x_default_ids[] = { | 899 | static struct pci_device_id snd_bt87x_default_ids[] = { |
900 | BT_DEVICE(878, PCI_ANY_ID, PCI_ANY_ID, 0), | 900 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, PCI_ANY_ID, PCI_ANY_ID, 0), |
901 | BT_DEVICE(879, PCI_ANY_ID, PCI_ANY_ID, 0), | 901 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_879, PCI_ANY_ID, PCI_ANY_ID, 0), |
902 | { } | 902 | { } |
903 | }; | 903 | }; |
904 | 904 | ||
905 | static struct pci_driver driver = { | 905 | static struct pci_driver driver = { |
906 | .name = "Bt87x", | 906 | .name = "Bt87x", |
907 | .owner = THIS_MODULE, | ||
908 | .id_table = snd_bt87x_ids, | 907 | .id_table = snd_bt87x_ids, |
909 | .probe = snd_bt87x_probe, | 908 | .probe = snd_bt87x_probe, |
910 | .remove = __devexit_p(snd_bt87x_remove), | 909 | .remove = __devexit_p(snd_bt87x_remove), |
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c index ee58d16002e5..389d967c97f4 100644 --- a/sound/pci/ca0106/ca0106_main.c +++ b/sound/pci/ca0106/ca0106_main.c | |||
@@ -1499,7 +1499,6 @@ MODULE_DEVICE_TABLE(pci, snd_ca0106_ids); | |||
1499 | // pci_driver definition | 1499 | // pci_driver definition |
1500 | static struct pci_driver driver = { | 1500 | static struct pci_driver driver = { |
1501 | .name = "CA0106", | 1501 | .name = "CA0106", |
1502 | .owner = THIS_MODULE, | ||
1503 | .id_table = snd_ca0106_ids, | 1502 | .id_table = snd_ca0106_ids, |
1504 | .probe = snd_ca0106_probe, | 1503 | .probe = snd_ca0106_probe, |
1505 | .remove = __devexit_p(snd_ca0106_remove), | 1504 | .remove = __devexit_p(snd_ca0106_remove), |
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 57e8e433d56f..db605373b3bc 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c | |||
@@ -3053,7 +3053,6 @@ static void __devexit snd_cmipci_remove(struct pci_dev *pci) | |||
3053 | 3053 | ||
3054 | static struct pci_driver driver = { | 3054 | static struct pci_driver driver = { |
3055 | .name = "C-Media PCI", | 3055 | .name = "C-Media PCI", |
3056 | .owner = THIS_MODULE, | ||
3057 | .id_table = snd_cmipci_ids, | 3056 | .id_table = snd_cmipci_ids, |
3058 | .probe = snd_cmipci_probe, | 3057 | .probe = snd_cmipci_probe, |
3059 | .remove = __devexit_p(snd_cmipci_remove), | 3058 | .remove = __devexit_p(snd_cmipci_remove), |
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c index aea2c47712f9..034ff3755a3b 100644 --- a/sound/pci/cs4281.c +++ b/sound/pci/cs4281.c | |||
@@ -2106,7 +2106,6 @@ static int cs4281_resume(snd_card_t *card) | |||
2106 | 2106 | ||
2107 | static struct pci_driver driver = { | 2107 | static struct pci_driver driver = { |
2108 | .name = "CS4281", | 2108 | .name = "CS4281", |
2109 | .owner = THIS_MODULE, | ||
2110 | .id_table = snd_cs4281_ids, | 2109 | .id_table = snd_cs4281_ids, |
2111 | .probe = snd_cs4281_probe, | 2110 | .probe = snd_cs4281_probe, |
2112 | .remove = __devexit_p(snd_cs4281_remove), | 2111 | .remove = __devexit_p(snd_cs4281_remove), |
diff --git a/sound/pci/cs46xx/cs46xx.c b/sound/pci/cs46xx/cs46xx.c index 32b4f8465cef..b9fff4ee6f9d 100644 --- a/sound/pci/cs46xx/cs46xx.c +++ b/sound/pci/cs46xx/cs46xx.c | |||
@@ -163,7 +163,6 @@ static void __devexit snd_card_cs46xx_remove(struct pci_dev *pci) | |||
163 | 163 | ||
164 | static struct pci_driver driver = { | 164 | static struct pci_driver driver = { |
165 | .name = "Sound Fusion CS46xx", | 165 | .name = "Sound Fusion CS46xx", |
166 | .owner = THIS_MODULE, | ||
167 | .id_table = snd_cs46xx_ids, | 166 | .id_table = snd_cs46xx_ids, |
168 | .probe = snd_card_cs46xx_probe, | 167 | .probe = snd_card_cs46xx_probe, |
169 | .remove = __devexit_p(snd_card_cs46xx_remove), | 168 | .remove = __devexit_p(snd_card_cs46xx_remove), |
diff --git a/sound/pci/emu10k1/emu10k1.c b/sound/pci/emu10k1/emu10k1.c index dd1ea9d3b81a..78270f8710ff 100644 --- a/sound/pci/emu10k1/emu10k1.c +++ b/sound/pci/emu10k1/emu10k1.c | |||
@@ -223,7 +223,6 @@ static void __devexit snd_card_emu10k1_remove(struct pci_dev *pci) | |||
223 | 223 | ||
224 | static struct pci_driver driver = { | 224 | static struct pci_driver driver = { |
225 | .name = "EMU10K1_Audigy", | 225 | .name = "EMU10K1_Audigy", |
226 | .owner = THIS_MODULE, | ||
227 | .id_table = snd_emu10k1_ids, | 226 | .id_table = snd_emu10k1_ids, |
228 | .probe = snd_card_emu10k1_probe, | 227 | .probe = snd_card_emu10k1_probe, |
229 | .remove = __devexit_p(snd_card_emu10k1_remove), | 228 | .remove = __devexit_p(snd_card_emu10k1_remove), |
diff --git a/sound/pci/emu10k1/emu10k1x.c b/sound/pci/emu10k1/emu10k1x.c index cbb689474e7d..795577716a5d 100644 --- a/sound/pci/emu10k1/emu10k1x.c +++ b/sound/pci/emu10k1/emu10k1x.c | |||
@@ -1613,7 +1613,6 @@ MODULE_DEVICE_TABLE(pci, snd_emu10k1x_ids); | |||
1613 | // pci_driver definition | 1613 | // pci_driver definition |
1614 | static struct pci_driver driver = { | 1614 | static struct pci_driver driver = { |
1615 | .name = "EMU10K1X", | 1615 | .name = "EMU10K1X", |
1616 | .owner = THIS_MODULE, | ||
1617 | .id_table = snd_emu10k1x_ids, | 1616 | .id_table = snd_emu10k1x_ids, |
1618 | .probe = snd_emu10k1x_probe, | 1617 | .probe = snd_emu10k1x_probe, |
1619 | .remove = __devexit_p(snd_emu10k1x_remove), | 1618 | .remove = __devexit_p(snd_emu10k1x_remove), |
diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c index 92ff7c510f2b..2daa575f43ff 100644 --- a/sound/pci/ens1370.c +++ b/sound/pci/ens1370.c | |||
@@ -2386,7 +2386,6 @@ static void __devexit snd_audiopci_remove(struct pci_dev *pci) | |||
2386 | 2386 | ||
2387 | static struct pci_driver driver = { | 2387 | static struct pci_driver driver = { |
2388 | .name = DRIVER_NAME, | 2388 | .name = DRIVER_NAME, |
2389 | .owner = THIS_MODULE, | ||
2390 | .id_table = snd_audiopci_ids, | 2389 | .id_table = snd_audiopci_ids, |
2391 | .probe = snd_audiopci_probe, | 2390 | .probe = snd_audiopci_probe, |
2392 | .remove = __devexit_p(snd_audiopci_remove), | 2391 | .remove = __devexit_p(snd_audiopci_remove), |
diff --git a/sound/pci/es1938.c b/sound/pci/es1938.c index 78f90defcab1..c134f48152b0 100644 --- a/sound/pci/es1938.c +++ b/sound/pci/es1938.c | |||
@@ -1758,7 +1758,6 @@ static void __devexit snd_es1938_remove(struct pci_dev *pci) | |||
1758 | 1758 | ||
1759 | static struct pci_driver driver = { | 1759 | static struct pci_driver driver = { |
1760 | .name = "ESS ES1938 (Solo-1)", | 1760 | .name = "ESS ES1938 (Solo-1)", |
1761 | .owner = THIS_MODULE, | ||
1762 | .id_table = snd_es1938_ids, | 1761 | .id_table = snd_es1938_ids, |
1763 | .probe = snd_es1938_probe, | 1762 | .probe = snd_es1938_probe, |
1764 | .remove = __devexit_p(snd_es1938_remove), | 1763 | .remove = __devexit_p(snd_es1938_remove), |
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index ac8294e21cc1..50079dc90743 100644 --- a/sound/pci/es1968.c +++ b/sound/pci/es1968.c | |||
@@ -2761,7 +2761,6 @@ static void __devexit snd_es1968_remove(struct pci_dev *pci) | |||
2761 | 2761 | ||
2762 | static struct pci_driver driver = { | 2762 | static struct pci_driver driver = { |
2763 | .name = "ES1968 (ESS Maestro)", | 2763 | .name = "ES1968 (ESS Maestro)", |
2764 | .owner = THIS_MODULE, | ||
2765 | .id_table = snd_es1968_ids, | 2764 | .id_table = snd_es1968_ids, |
2766 | .probe = snd_es1968_probe, | 2765 | .probe = snd_es1968_probe, |
2767 | .remove = __devexit_p(snd_es1968_remove), | 2766 | .remove = __devexit_p(snd_es1968_remove), |
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c index 4c7c8d225c7f..4e1d3434888d 100644 --- a/sound/pci/fm801.c +++ b/sound/pci/fm801.c | |||
@@ -1459,7 +1459,6 @@ static void __devexit snd_card_fm801_remove(struct pci_dev *pci) | |||
1459 | 1459 | ||
1460 | static struct pci_driver driver = { | 1460 | static struct pci_driver driver = { |
1461 | .name = "FM801", | 1461 | .name = "FM801", |
1462 | .owner = THIS_MODULE, | ||
1463 | .id_table = snd_fm801_ids, | 1462 | .id_table = snd_fm801_ids, |
1464 | .probe = snd_card_fm801_probe, | 1463 | .probe = snd_card_fm801_probe, |
1465 | .remove = __devexit_p(snd_card_fm801_remove), | 1464 | .remove = __devexit_p(snd_card_fm801_remove), |
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 9d1412a9f2f8..ed525c03c996 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -1616,7 +1616,6 @@ MODULE_DEVICE_TABLE(pci, azx_ids); | |||
1616 | /* pci_driver definition */ | 1616 | /* pci_driver definition */ |
1617 | static struct pci_driver driver = { | 1617 | static struct pci_driver driver = { |
1618 | .name = "HDA Intel", | 1618 | .name = "HDA Intel", |
1619 | .owner = THIS_MODULE, | ||
1620 | .id_table = azx_ids, | 1619 | .id_table = azx_ids, |
1621 | .probe = azx_probe, | 1620 | .probe = azx_probe, |
1622 | .remove = __devexit_p(azx_remove), | 1621 | .remove = __devexit_p(azx_remove), |
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index 5aca37798c32..bd71bf424549 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c | |||
@@ -2735,7 +2735,6 @@ static void __devexit snd_ice1712_remove(struct pci_dev *pci) | |||
2735 | 2735 | ||
2736 | static struct pci_driver driver = { | 2736 | static struct pci_driver driver = { |
2737 | .name = "ICE1712", | 2737 | .name = "ICE1712", |
2738 | .owner = THIS_MODULE, | ||
2739 | .id_table = snd_ice1712_ids, | 2738 | .id_table = snd_ice1712_ids, |
2740 | .probe = snd_ice1712_probe, | 2739 | .probe = snd_ice1712_probe, |
2741 | .remove = __devexit_p(snd_ice1712_remove), | 2740 | .remove = __devexit_p(snd_ice1712_remove), |
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index 5b4293f5a652..0b5389ee26d5 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c | |||
@@ -2332,7 +2332,6 @@ static void __devexit snd_vt1724_remove(struct pci_dev *pci) | |||
2332 | 2332 | ||
2333 | static struct pci_driver driver = { | 2333 | static struct pci_driver driver = { |
2334 | .name = "ICE1724", | 2334 | .name = "ICE1724", |
2335 | .owner = THIS_MODULE, | ||
2336 | .id_table = snd_vt1724_ids, | 2335 | .id_table = snd_vt1724_ids, |
2337 | .probe = snd_vt1724_probe, | 2336 | .probe = snd_vt1724_probe, |
2338 | .remove = __devexit_p(snd_vt1724_remove), | 2337 | .remove = __devexit_p(snd_vt1724_remove), |
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index 0801083f32dd..cf7801d2dd10 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c | |||
@@ -2876,7 +2876,6 @@ static void __devexit snd_intel8x0_remove(struct pci_dev *pci) | |||
2876 | 2876 | ||
2877 | static struct pci_driver driver = { | 2877 | static struct pci_driver driver = { |
2878 | .name = "Intel ICH", | 2878 | .name = "Intel ICH", |
2879 | .owner = THIS_MODULE, | ||
2880 | .id_table = snd_intel8x0_ids, | 2879 | .id_table = snd_intel8x0_ids, |
2881 | .probe = snd_intel8x0_probe, | 2880 | .probe = snd_intel8x0_probe, |
2882 | .remove = __devexit_p(snd_intel8x0_remove), | 2881 | .remove = __devexit_p(snd_intel8x0_remove), |
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c index acfb197a833c..a42091860da7 100644 --- a/sound/pci/intel8x0m.c +++ b/sound/pci/intel8x0m.c | |||
@@ -1317,7 +1317,6 @@ static void __devexit snd_intel8x0m_remove(struct pci_dev *pci) | |||
1317 | 1317 | ||
1318 | static struct pci_driver driver = { | 1318 | static struct pci_driver driver = { |
1319 | .name = "Intel ICH Modem", | 1319 | .name = "Intel ICH Modem", |
1320 | .owner = THIS_MODULE, | ||
1321 | .id_table = snd_intel8x0m_ids, | 1320 | .id_table = snd_intel8x0m_ids, |
1322 | .probe = snd_intel8x0m_probe, | 1321 | .probe = snd_intel8x0m_probe, |
1323 | .remove = __devexit_p(snd_intel8x0m_remove), | 1322 | .remove = __devexit_p(snd_intel8x0m_remove), |
diff --git a/sound/pci/korg1212/korg1212.c b/sound/pci/korg1212/korg1212.c index 5561fd4091e8..a110d664f626 100644 --- a/sound/pci/korg1212/korg1212.c +++ b/sound/pci/korg1212/korg1212.c | |||
@@ -2534,7 +2534,6 @@ static void __devexit snd_korg1212_remove(struct pci_dev *pci) | |||
2534 | 2534 | ||
2535 | static struct pci_driver driver = { | 2535 | static struct pci_driver driver = { |
2536 | .name = "korg1212", | 2536 | .name = "korg1212", |
2537 | .owner = THIS_MODULE, | ||
2538 | .id_table = snd_korg1212_ids, | 2537 | .id_table = snd_korg1212_ids, |
2539 | .probe = snd_korg1212_probe, | 2538 | .probe = snd_korg1212_probe, |
2540 | .remove = __devexit_p(snd_korg1212_remove), | 2539 | .remove = __devexit_p(snd_korg1212_remove), |
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c index 99eb76c56f81..ede7a75bfe08 100644 --- a/sound/pci/maestro3.c +++ b/sound/pci/maestro3.c | |||
@@ -2858,7 +2858,6 @@ static void __devexit snd_m3_remove(struct pci_dev *pci) | |||
2858 | 2858 | ||
2859 | static struct pci_driver driver = { | 2859 | static struct pci_driver driver = { |
2860 | .name = "Maestro3", | 2860 | .name = "Maestro3", |
2861 | .owner = THIS_MODULE, | ||
2862 | .id_table = snd_m3_ids, | 2861 | .id_table = snd_m3_ids, |
2863 | .probe = snd_m3_probe, | 2862 | .probe = snd_m3_probe, |
2864 | .remove = __devexit_p(snd_m3_remove), | 2863 | .remove = __devexit_p(snd_m3_remove), |
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index c341c99ec783..b3090a13edab 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c | |||
@@ -1423,7 +1423,6 @@ static void __devexit snd_mixart_remove(struct pci_dev *pci) | |||
1423 | 1423 | ||
1424 | static struct pci_driver driver = { | 1424 | static struct pci_driver driver = { |
1425 | .name = "Digigram miXart", | 1425 | .name = "Digigram miXart", |
1426 | .owner = THIS_MODULE, | ||
1427 | .id_table = snd_mixart_ids, | 1426 | .id_table = snd_mixart_ids, |
1428 | .probe = snd_mixart_probe, | 1427 | .probe = snd_mixart_probe, |
1429 | .remove = __devexit_p(snd_mixart_remove), | 1428 | .remove = __devexit_p(snd_mixart_remove), |
diff --git a/sound/pci/nm256/nm256.c b/sound/pci/nm256/nm256.c index e7aa15178453..089d23b4a002 100644 --- a/sound/pci/nm256/nm256.c +++ b/sound/pci/nm256/nm256.c | |||
@@ -1673,7 +1673,6 @@ static void __devexit snd_nm256_remove(struct pci_dev *pci) | |||
1673 | 1673 | ||
1674 | static struct pci_driver driver = { | 1674 | static struct pci_driver driver = { |
1675 | .name = "NeoMagic 256", | 1675 | .name = "NeoMagic 256", |
1676 | .owner = THIS_MODULE, | ||
1677 | .id_table = snd_nm256_ids, | 1676 | .id_table = snd_nm256_ids, |
1678 | .probe = snd_nm256_probe, | 1677 | .probe = snd_nm256_probe, |
1679 | .remove = __devexit_p(snd_nm256_remove), | 1678 | .remove = __devexit_p(snd_nm256_remove), |
diff --git a/sound/pci/rme32.c b/sound/pci/rme32.c index e6627b0e38e4..783df7625c1c 100644 --- a/sound/pci/rme32.c +++ b/sound/pci/rme32.c | |||
@@ -2012,7 +2012,6 @@ static void __devexit snd_rme32_remove(struct pci_dev *pci) | |||
2012 | 2012 | ||
2013 | static struct pci_driver driver = { | 2013 | static struct pci_driver driver = { |
2014 | .name = "RME Digi32", | 2014 | .name = "RME Digi32", |
2015 | .owner = THIS_MODULE, | ||
2016 | .id_table = snd_rme32_ids, | 2015 | .id_table = snd_rme32_ids, |
2017 | .probe = snd_rme32_probe, | 2016 | .probe = snd_rme32_probe, |
2018 | .remove = __devexit_p(snd_rme32_remove), | 2017 | .remove = __devexit_p(snd_rme32_remove), |
diff --git a/sound/pci/rme96.c b/sound/pci/rme96.c index 0eddeb16a10f..6d422ef64999 100644 --- a/sound/pci/rme96.c +++ b/sound/pci/rme96.c | |||
@@ -2413,7 +2413,6 @@ static void __devexit snd_rme96_remove(struct pci_dev *pci) | |||
2413 | 2413 | ||
2414 | static struct pci_driver driver = { | 2414 | static struct pci_driver driver = { |
2415 | .name = "RME Digi96", | 2415 | .name = "RME Digi96", |
2416 | .owner = THIS_MODULE, | ||
2417 | .id_table = snd_rme96_ids, | 2416 | .id_table = snd_rme96_ids, |
2418 | .probe = snd_rme96_probe, | 2417 | .probe = snd_rme96_probe, |
2419 | .remove = __devexit_p(snd_rme96_remove), | 2418 | .remove = __devexit_p(snd_rme96_remove), |
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index 845158b01b02..d15ffb3e9b0a 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -5062,7 +5062,6 @@ static void __devexit snd_hdsp_remove(struct pci_dev *pci) | |||
5062 | 5062 | ||
5063 | static struct pci_driver driver = { | 5063 | static struct pci_driver driver = { |
5064 | .name = "RME Hammerfall DSP", | 5064 | .name = "RME Hammerfall DSP", |
5065 | .owner = THIS_MODULE, | ||
5066 | .id_table = snd_hdsp_ids, | 5065 | .id_table = snd_hdsp_ids, |
5067 | .probe = snd_hdsp_probe, | 5066 | .probe = snd_hdsp_probe, |
5068 | .remove = __devexit_p(snd_hdsp_remove), | 5067 | .remove = __devexit_p(snd_hdsp_remove), |
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 60a1141f1327..a1aef6f6767e 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c | |||
@@ -3639,7 +3639,6 @@ static void __devexit snd_hdspm_remove(struct pci_dev *pci) | |||
3639 | 3639 | ||
3640 | static struct pci_driver driver = { | 3640 | static struct pci_driver driver = { |
3641 | .name = "RME Hammerfall DSP MADI", | 3641 | .name = "RME Hammerfall DSP MADI", |
3642 | .owner = THIS_MODULE, | ||
3643 | .id_table = snd_hdspm_ids, | 3642 | .id_table = snd_hdspm_ids, |
3644 | .probe = snd_hdspm_probe, | 3643 | .probe = snd_hdspm_probe, |
3645 | .remove = __devexit_p(snd_hdspm_remove), | 3644 | .remove = __devexit_p(snd_hdspm_remove), |
diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c index 59fcef9b6b81..f9d0c126c213 100644 --- a/sound/pci/rme9652/rme9652.c +++ b/sound/pci/rme9652/rme9652.c | |||
@@ -2654,7 +2654,6 @@ static void __devexit snd_rme9652_remove(struct pci_dev *pci) | |||
2654 | 2654 | ||
2655 | static struct pci_driver driver = { | 2655 | static struct pci_driver driver = { |
2656 | .name = "RME Digi9652 (Hammerfall)", | 2656 | .name = "RME Digi9652 (Hammerfall)", |
2657 | .owner = THIS_MODULE, | ||
2658 | .id_table = snd_rme9652_ids, | 2657 | .id_table = snd_rme9652_ids, |
2659 | .probe = snd_rme9652_probe, | 2658 | .probe = snd_rme9652_probe, |
2660 | .remove = __devexit_p(snd_rme9652_remove), | 2659 | .remove = __devexit_p(snd_rme9652_remove), |
diff --git a/sound/pci/sonicvibes.c b/sound/pci/sonicvibes.c index 9a35474aad05..e92ef3ae2ca1 100644 --- a/sound/pci/sonicvibes.c +++ b/sound/pci/sonicvibes.c | |||
@@ -1502,7 +1502,6 @@ static void __devexit snd_sonic_remove(struct pci_dev *pci) | |||
1502 | 1502 | ||
1503 | static struct pci_driver driver = { | 1503 | static struct pci_driver driver = { |
1504 | .name = "S3 SonicVibes", | 1504 | .name = "S3 SonicVibes", |
1505 | .owner = THIS_MODULE, | ||
1506 | .id_table = snd_sonic_ids, | 1505 | .id_table = snd_sonic_ids, |
1507 | .probe = snd_sonic_probe, | 1506 | .probe = snd_sonic_probe, |
1508 | .remove = __devexit_p(snd_sonic_remove), | 1507 | .remove = __devexit_p(snd_sonic_remove), |
diff --git a/sound/pci/trident/trident.c b/sound/pci/trident/trident.c index a8ca8e17853f..940d531575c0 100644 --- a/sound/pci/trident/trident.c +++ b/sound/pci/trident/trident.c | |||
@@ -177,7 +177,6 @@ static void __devexit snd_trident_remove(struct pci_dev *pci) | |||
177 | 177 | ||
178 | static struct pci_driver driver = { | 178 | static struct pci_driver driver = { |
179 | .name = "Trident4DWaveAudio", | 179 | .name = "Trident4DWaveAudio", |
180 | .owner = THIS_MODULE, | ||
181 | .id_table = snd_trident_ids, | 180 | .id_table = snd_trident_ids, |
182 | .probe = snd_trident_probe, | 181 | .probe = snd_trident_probe, |
183 | .remove = __devexit_p(snd_trident_remove), | 182 | .remove = __devexit_p(snd_trident_remove), |
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index 523eace250f7..fad2a2413bf6 100644 --- a/sound/pci/via82xx.c +++ b/sound/pci/via82xx.c | |||
@@ -2478,7 +2478,6 @@ static void __devexit snd_via82xx_remove(struct pci_dev *pci) | |||
2478 | 2478 | ||
2479 | static struct pci_driver driver = { | 2479 | static struct pci_driver driver = { |
2480 | .name = "VIA 82xx Audio", | 2480 | .name = "VIA 82xx Audio", |
2481 | .owner = THIS_MODULE, | ||
2482 | .id_table = snd_via82xx_ids, | 2481 | .id_table = snd_via82xx_ids, |
2483 | .probe = snd_via82xx_probe, | 2482 | .probe = snd_via82xx_probe, |
2484 | .remove = __devexit_p(snd_via82xx_remove), | 2483 | .remove = __devexit_p(snd_via82xx_remove), |
diff --git a/sound/pci/via82xx_modem.c b/sound/pci/via82xx_modem.c index 011f0fb63bf9..b83660bd05b0 100644 --- a/sound/pci/via82xx_modem.c +++ b/sound/pci/via82xx_modem.c | |||
@@ -1198,7 +1198,6 @@ static void __devexit snd_via82xx_remove(struct pci_dev *pci) | |||
1198 | 1198 | ||
1199 | static struct pci_driver driver = { | 1199 | static struct pci_driver driver = { |
1200 | .name = "VIA 82xx Modem", | 1200 | .name = "VIA 82xx Modem", |
1201 | .owner = THIS_MODULE, | ||
1202 | .id_table = snd_via82xx_modem_ids, | 1201 | .id_table = snd_via82xx_modem_ids, |
1203 | .probe = snd_via82xx_probe, | 1202 | .probe = snd_via82xx_probe, |
1204 | .remove = __devexit_p(snd_via82xx_remove), | 1203 | .remove = __devexit_p(snd_via82xx_remove), |
diff --git a/sound/pci/vx222/vx222.c b/sound/pci/vx222/vx222.c index 2a7ad9dec021..dca6bd2c7580 100644 --- a/sound/pci/vx222/vx222.c +++ b/sound/pci/vx222/vx222.c | |||
@@ -252,7 +252,6 @@ static void __devexit snd_vx222_remove(struct pci_dev *pci) | |||
252 | 252 | ||
253 | static struct pci_driver driver = { | 253 | static struct pci_driver driver = { |
254 | .name = "Digigram VX222", | 254 | .name = "Digigram VX222", |
255 | .owner = THIS_MODULE, | ||
256 | .id_table = snd_vx222_ids, | 255 | .id_table = snd_vx222_ids, |
257 | .probe = snd_vx222_probe, | 256 | .probe = snd_vx222_probe, |
258 | .remove = __devexit_p(snd_vx222_remove), | 257 | .remove = __devexit_p(snd_vx222_remove), |
diff --git a/sound/pci/ymfpci/ymfpci.c b/sound/pci/ymfpci/ymfpci.c index 1bbba32517ff..d013237205d8 100644 --- a/sound/pci/ymfpci/ymfpci.c +++ b/sound/pci/ymfpci/ymfpci.c | |||
@@ -344,7 +344,6 @@ static void __devexit snd_card_ymfpci_remove(struct pci_dev *pci) | |||
344 | 344 | ||
345 | static struct pci_driver driver = { | 345 | static struct pci_driver driver = { |
346 | .name = "Yamaha DS-XG PCI", | 346 | .name = "Yamaha DS-XG PCI", |
347 | .owner = THIS_MODULE, | ||
348 | .id_table = snd_ymfpci_ids, | 347 | .id_table = snd_ymfpci_ids, |
349 | .probe = snd_card_ymfpci_probe, | 348 | .probe = snd_card_ymfpci_probe, |
350 | .remove = __devexit_p(snd_card_ymfpci_remove), | 349 | .remove = __devexit_p(snd_card_ymfpci_remove), |