ALSA: Add missing .owner=THIS_MODULE to platform_driver definitions
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Jul 2012 08:50:24 +0000 (10:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Jul 2012 15:50:05 +0000 (17:50 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 files changed:
sound/atmel/abdac.c
sound/atmel/ac97c.c
sound/drivers/aloop.c
sound/drivers/dummy.c
sound/drivers/mpu401/mpu401.c
sound/drivers/mtpav.c
sound/drivers/mts64.c
sound/drivers/portman2x4.c
sound/drivers/serial-u16550.c
sound/drivers/virmidi.c
sound/ppc/powermac.c
sound/sh/aica.c
sound/sh/sh_dac_audio.c

index f7c2bb08055d039bb48d9d84901e3b002ed7537e..2e866398bffe640d560de5e16171a581985ecdda 100644 (file)
@@ -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,
index f5ded640b395312934396237299ac532ef2cb148..3d0ea82ff06823386be5824f6875a119bdc6dd0a 100644 (file)
@@ -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,
index 8b5c36f4d30327e96a31f2e8afbd1b1dbb0f2d80..3484411bd5e65f1107ec5f217607bd05d9bbf793 100644 (file)
@@ -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,
        },
 };
 
index ad9434fd6370d87afef124954b6a0adb56736354..bc79c441a8f2fbe5d0f4a74c600bfca98e34634a 100644 (file)
@@ -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,
        },
 };
 
index 86f5fbc2da727fc08f5e4fe1c8b17a349b3f5dd7..bc03a2046c9c60e6f7f939df86537408e70bb04d 100644 (file)
@@ -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,
        },
 };
 
index 76930793fb69155a10c9c6ee55ac04c2caa07cdb..cad73af3860cd0f56fb82ee9da909a53627dcafc 100644 (file)
@@ -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,
        },
 };
 
index 621e60e2029fe1a30a37ef2a576d7e5b4291272b..2d5514b0a2909d3ad47fd9ab1b81d8c47e0b9917 100644 (file)
@@ -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,
        }
 };
 
index 3e32bd3d95d94afac88742c5d4168adbb3c5bee4..8364855ed14fbfd7b3d2af81c7edd0914b6792fc 100644 (file)
@@ -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,
        }
 };
 
index b2d0e8e49bedd46852431ddea9caf7813c2c2e38..86700671d1ac12e8192f7400fb2d7fc8a25a66ef 100644 (file)
@@ -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,
        },
 };
 
index 9d97478a18b32205ec5501326d15e8c09d16b58b..d7d514df90586439592a525db37e9930ef8fc7c3 100644 (file)
@@ -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,
        },
 };
 
index 5a4e263b5b0fc18822be093c66e78eb294f1f52f..aef54beaf8b7a534df0af27cab9e86990cf6e2c8 100644 (file)
@@ -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,
        },
 };
 
index 391a38ca58bc767301f74c7baf4a3b116afa3429..d48b523207eb979b8dc034e3ea7bcd92cd304179 100644 (file)
@@ -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)
index f8b01c77b298dd2da058e049c2738d396e6b6892..0a3394751ed20c3d0d352077a30be7d107b50657 100644 (file)
@@ -438,6 +438,7 @@ static struct platform_driver sh_dac_driver = {
        .remove = snd_sh_dac_remove,
        .driver = {
                .name = "dac_audio",
+               .owner  = THIS_MODULE,
        },
 };