FB: sa1100: add .owner initializer to driver structure
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 14 Jan 2012 10:11:03 +0000 (10:11 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Feb 2012 11:56:18 +0000 (11:56 +0000)
Annotate the driver structure with the .owner field, to allow the
module to be associated with the driver.

Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/sa1100fb.c

index 2cc268c0e89aac4c3a68acab99d3e2caea3d2daf..bac9d4f39da5454467b1644209684e7ebff1bef4 100644 (file)
@@ -1505,6 +1505,7 @@ static struct platform_driver sa1100fb_driver = {
        .resume         = sa1100fb_resume,
        .driver         = {
                .name   = "sa11x0-fb",
+               .owner  = THIS_MODULE,
        },
 };