summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-11-07 10:00:48 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 16:53:52 +0100
commit2726bff34441dce3854c62c3748bac2e7879e791 (patch)
treee0318cb9929c5e3a910f8ce7b4895810dbc08212
parent[PATCH] fbdev: fix the fb_find_nearest_mode() function (diff)
downloadlinux-2726bff34441dce3854c62c3748bac2e7879e791.tar.xz
linux-2726bff34441dce3854c62c3748bac2e7879e791.zip
[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: 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>
-rw-r--r--drivers/video/s3c2410fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c
index bf679312be06..855a6778b9eb 100644
--- a/drivers/video/s3c2410fb.c
+++ b/drivers/video/s3c2410fb.c
@@ -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,