All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH 2.6-mm 3/5] i2c: update .owner field for mac's
@ 2005-09-30 16:52 Laurent Riffard
  0 siblings, 0 replies; only message in thread
From: Laurent Riffard @ 2005-09-30 16:52 UTC (permalink / raw)
  To: lm-sensors

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...

Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
---

Index: linux-2.6-mm/drivers/i2c/busses/i2c-keywest.c
=================================--- linux-2.6-mm.orig/drivers/i2c/busses/i2c-keywest.c	2005-09-12 20:34:09.762607750 +0200
+++ linux-2.6-mm/drivers/i2c/busses/i2c-keywest.c	2005-09-12 20:37:16.466276000 +0200
@@ -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,




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050930/ce24060a/signature.bin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-30 16:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30 16:52 [lm-sensors] [PATCH 2.6-mm 3/5] i2c: update .owner field for mac's Laurent Riffard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.