# \[PATCH 13/17\] s3c2410fb: initialise device\_driver .owner

- From: Antonino A. Daplas \<adaplas@gmail.com\>
- Date: 2005-10-18 20:43:43 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2005/10/13455586
- Thread: https://ratatoskr.run/linux-fbdev/2005/10/13455586/t.md

```text
From: Ben Dooks <ben-linux@fluff.org>

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 <redacted>
---
 s3c2410fb.c |    1 +
 1 files changed, 1 insertion(+)


diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c
--- a/drivers/video/s3c2410fb.c
+++ b/drivers/video/s3c2410fb.c
@@ -883,6 +883,7 @@ static int s3c2410fb_resume(struct devic
 
 static struct device_driver s3c2410fb_driver = {
 	.name		= "s3c2410-lcd",
+	.owner		= THIS_MODULE,
 	.bus		= &platform_bus_type,
 	.probe		= s3c2410fb_probe,
 	.suspend	= s3c2410fb_suspend,




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
```
