]> err.no Git - linux-2.6/commitdiff
[PATCH] s3c2410fb: initialise device_driver .owner
authorBen Dooks <ben-linux@fluff.org>
Mon, 7 Nov 2005 09:00:48 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:52 +0000 (07:53 -0800)
Initialise the .owner field, so that if the driver is built as a module, the
system has a link to the owner

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/s3c2410fb.c

index bf679312be060b27c23d6ef57eb36a8fb8a64f69..855a6778b9eba115879bdbde91d4372f414b9d81 100644 (file)
@@ -884,6 +884,7 @@ static int s3c2410fb_resume(struct device *dev)
 
 static struct device_driver s3c2410fb_driver = {
        .name           = "s3c2410-lcd",
+       .owner          = THIS_MODULE,
        .bus            = &platform_bus_type,
        .probe          = s3c2410fb_probe,
        .suspend        = s3c2410fb_suspend,