Skip to contentSkip to conversation

Owner field additions to many i2c

PATCH New Jean Delvare 1 participant 1 message Oct 17, 2005 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 3/14 Owner field additions to many i2c

From: Laurent Riffard <[email protected]>
Content-Disposition: inline; filename=i2c-owner-field-03-i2c-keywest.patch

This patch updates the .owner field for various struct xxxx_driver variables which are available on PPC_MAC arch.

This one was _not_ even compile-tested...

---
 drivers/i2c/busses/i2c-keywest.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/i2c/busses/i2c-keywest.c +2 -0
@@ -716,6 +716,7 @@
 
 static struct macio_driver i2c_keywest_macio_driver = 
 {
+	.owner		= THIS_MODULE,
 	.name 		= "i2c-keywest",
 	.match_table	= i2c_keywest_match,
 	.probe		= create_iface_macio,
@@ -724,6 +725,7 @@
 
 static struct of_platform_driver i2c_keywest_of_platform_driver = 
 {
+	.owner		= THIS_MODULE,
 	.name 		= "i2c-keywest",
 	.match_table	= i2c_keywest_match,
 	.probe		= create_iface_of_platform,
Signature · 1 line
Jean Delvare