ARM: sa11x0: neponset: add driver .owner initializer
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 24 Jan 2012 23:33:28 +0000 (23:33 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:34:15 +0000 (15:34 +0000)
Ensure that the driver .owner field is properly initialized.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/neponset.c

index 8fcd542d46f7535a8b03e695e7e6a89ddda956cb..1beaa0e5bf3f3bd39f656003c4bb8ea6b36680c7 100644 (file)
@@ -272,6 +272,7 @@ static struct platform_driver neponset_device_driver = {
        .resume         = neponset_resume,
        .driver         = {
                .name   = "neponset",
+               .owner  = THIS_MODULE,
        },
 };