Commit 2726bff3 authored by Ben Dooks's avatar Ben Dooks Committed by Linus Torvalds

[PATCH] s3c2410fb: initialise device_driver .owner

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: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8fb6567e
...@@ -884,6 +884,7 @@ static int s3c2410fb_resume(struct device *dev) ...@@ -884,6 +884,7 @@ static int s3c2410fb_resume(struct device *dev)
static struct device_driver s3c2410fb_driver = { static struct device_driver s3c2410fb_driver = {
.name = "s3c2410-lcd", .name = "s3c2410-lcd",
.owner = THIS_MODULE,
.bus = &platform_bus_type, .bus = &platform_bus_type,
.probe = s3c2410fb_probe, .probe = s3c2410fb_probe,
.suspend = s3c2410fb_suspend, .suspend = s3c2410fb_suspend,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment