]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Owner field additions to many i2c drivers, 3 of 5
authorLaurent Riffard <laurent.riffard@free.fr>
Mon, 17 Oct 2005 20:53:52 +0000 (22:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 21:02:11 +0000 (14:02 -0700)
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>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-keywest.c

index eff5896ce865572baab25f49802077f78f6f8ea7..34e43c8d8d5ed1feafd331d71051e867eff84bc7 100644 (file)
@@ -716,6 +716,7 @@ static struct of_device_id i2c_keywest_match[] =
 
 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 macio_driver i2c_keywest_macio_driver =
 
 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,