Skip to content

Commit

Permalink
ALSA: Add missing .owner=THIS_MODULE to platform_driver definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
tiwai committed Jul 2, 2012
1 parent 6887a41 commit 8bf01d8
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 10 deletions.
1 change: 1 addition & 0 deletions sound/atmel/abdac.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ static struct platform_driver atmel_abdac_driver = {
.remove = __devexit_p(atmel_abdac_remove),
.driver = {
.name = "atmel_abdac",
.owner = THIS_MODULE,
},
.suspend = atmel_abdac_suspend,
.resume = atmel_abdac_resume,
Expand Down
1 change: 1 addition & 0 deletions sound/atmel/ac97c.c
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,7 @@ static struct platform_driver atmel_ac97c_driver = {
.remove = __devexit_p(atmel_ac97c_remove),
.driver = {
.name = "atmel_ac97c",
.owner = THIS_MODULE,
},
.suspend = atmel_ac97c_suspend,
.resume = atmel_ac97c_resume,
Expand Down
3 changes: 2 additions & 1 deletion sound/drivers/aloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,8 @@ static struct platform_driver loopback_driver = {
.resume = loopback_resume,
#endif
.driver = {
.name = SND_LOOPBACK_DRIVER
.name = SND_LOOPBACK_DRIVER,
.owner = THIS_MODULE,
},
};

Expand Down
3 changes: 2 additions & 1 deletion sound/drivers/dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,8 @@ static struct platform_driver snd_dummy_driver = {
.resume = snd_dummy_resume,
#endif
.driver = {
.name = SND_DUMMY_DRIVER
.name = SND_DUMMY_DRIVER,
.owner = THIS_MODULE,
},
};

Expand Down
3 changes: 2 additions & 1 deletion sound/drivers/mpu401/mpu401.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ static struct platform_driver snd_mpu401_driver = {
.probe = snd_mpu401_probe,
.remove = __devexit_p(snd_mpu401_remove),
.driver = {
.name = SND_MPU401_DRIVER
.name = SND_MPU401_DRIVER,
.owner = THIS_MODULE,
},
};

Expand Down
3 changes: 2 additions & 1 deletion sound/drivers/mtpav.c
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,8 @@ static struct platform_driver snd_mtpav_driver = {
.probe = snd_mtpav_probe,
.remove = __devexit_p(snd_mtpav_remove),
.driver = {
.name = SND_MTPAV_DRIVER
.name = SND_MTPAV_DRIVER,
.owner = THIS_MODULE,
},
};

Expand Down
3 changes: 2 additions & 1 deletion sound/drivers/mts64.c
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,8 @@ static struct platform_driver snd_mts64_driver = {
.probe = snd_mts64_probe,
.remove = __devexit_p(snd_mts64_remove),
.driver = {
.name = PLATFORM_DRIVER
.name = PLATFORM_DRIVER,
.owner = THIS_MODULE,
}
};

Expand Down
3 changes: 2 additions & 1 deletion sound/drivers/portman2x4.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,8 @@ static struct platform_driver snd_portman_driver = {
.probe = snd_portman_probe,
.remove = __devexit_p(snd_portman_remove),
.driver = {
.name = PLATFORM_DRIVER
.name = PLATFORM_DRIVER,
.owner = THIS_MODULE,
}
};

Expand Down
3 changes: 2 additions & 1 deletion sound/drivers/serial-u16550.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,8 @@ static struct platform_driver snd_serial_driver = {
.probe = snd_serial_probe,
.remove = __devexit_p( snd_serial_remove),
.driver = {
.name = SND_SERIAL_DRIVER
.name = SND_SERIAL_DRIVER,
.owner = THIS_MODULE,
},
};

Expand Down
3 changes: 2 additions & 1 deletion sound/drivers/virmidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ static struct platform_driver snd_virmidi_driver = {
.probe = snd_virmidi_probe,
.remove = __devexit_p(snd_virmidi_remove),
.driver = {
.name = SND_VIRMIDI_DRIVER
.name = SND_VIRMIDI_DRIVER,
.owner = THIS_MODULE,
},
};

Expand Down
3 changes: 2 additions & 1 deletion sound/ppc/powermac.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ static struct platform_driver snd_pmac_driver = {
.resume = snd_pmac_driver_resume,
#endif
.driver = {
.name = SND_PMAC_DRIVER
.name = SND_PMAC_DRIVER,
.owner = THIS_MODULE,
},
};

Expand Down
4 changes: 3 additions & 1 deletion sound/sh/aica.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,9 @@ static struct platform_driver snd_aica_driver = {
.probe = snd_aica_probe,
.remove = __devexit_p(snd_aica_remove),
.driver = {
.name = SND_AICA_DRIVER},
.name = SND_AICA_DRIVER,
.owner = THIS_MODULE,
},
};

static int __init aica_init(void)
Expand Down
1 change: 1 addition & 0 deletions sound/sh/sh_dac_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ static struct platform_driver sh_dac_driver = {
.remove = snd_sh_dac_remove,
.driver = {
.name = "dac_audio",
.owner = THIS_MODULE,
},
};

Expand Down

0 comments on commit 8bf01d8

Please sign in to comment.