Skip to contentSkip to conversation

s3c2410fb - initialise device_driver .owner

PATCH In review Ben Dooks 2 participants 3 messages Oct 10, 2005

Subsystems (2)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 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

drivers/video/s3c2410fb.c +1 -0
diff -urN -X ../dontdiff linux-2.6.13-simtec3a/drivers/video/s3c2410fb.c linux-2.6.13-simtec3b/drivers/video/s3c2410fb.c
@@ -889,6 +889,7 @@
 
 static struct device_driver s3c2410fb_driver = {
 	.name		= "s3c2410-lcd",
+	.owner		= THIS_MODULE,
 	.bus		= &platform_bus_type,
 	.probe		= s3c2410fb_probe,
 	.suspend	= s3c2410fb_suspend,
#1 lore raw
Quoted 3 lines · Ben Dooks

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

Do you want this in 2.6.14? I'm not pushing patches right now unless they're critical.

Tony

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

author
#2 lore raw
Quoted 7 lines · Antonino A. Daplas
Quoted 3 lines · Ben Dooks

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

Do you want this in 2.6.14? I'm not pushing patches right now unless they're critical.

It isn't critical, just getting things ready for the next release.

Signature · 9 lines
Ben ([email protected], http://www.fluff.org/)

  'a smiley only costs 4 bytes'


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