Skip to contentSkip to conversation

s3c2410fb: initialise device_driver .owner

PATCH In review Antonino A. Daplas 1 participant 1 message Oct 18, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 13/17 s3c2410fb: initialise device_driver .owner

From: Ben Dooks <[email protected]>

Initialise the .owner field, so that if the driver is built as a module, the system has a link to the owner

---
 s3c2410fb.c |    1 +
 1 files changed, 1 insertion(+)
drivers/video/s3c2410fb.c +1 -0
@@ -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