]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
i2c-isa: Restore driver owner
authorJean Delvare <khali@linux-fr.org>
Sun, 3 Sep 2006 20:36:14 +0000 (22:36 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Sep 2006 22:38:52 +0000 (15:38 -0700)
i2c-isa: Restore driver owner

Commit 2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33 back in January
2006 was a bit overzealous. It removed .owner from all i2c drivers,
including i2c-isa ones, while they still need it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/it87.c
drivers/hwmon/lm78.c
drivers/hwmon/pc87360.c
drivers/hwmon/sis5595.c
drivers/hwmon/smsc47b397.c
drivers/hwmon/smsc47m1.c
drivers/hwmon/via686a.c
drivers/hwmon/vt8231.c
drivers/hwmon/w83627ehf.c
drivers/hwmon/w83627hf.c
drivers/hwmon/w83781d.c

index 06df92b3ee492ccbfe3db607e1bd221e65a48b87..b0ee57492228bc42f8d3154378249978b713cffa 100644 (file)
@@ -243,6 +243,7 @@ static struct i2c_driver it87_driver = {
 
 static struct i2c_driver it87_isa_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "it87-isa",
        },
        .attach_adapter = it87_isa_attach_adapter,
index a6ce7abf86025dda21531ac6ecddd611926b705e..fa1715b9a9967618a398006bc73ea9a4f6b316f4 100644 (file)
@@ -175,6 +175,7 @@ static struct i2c_driver lm78_driver = {
 
 static struct i2c_driver lm78_isa_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "lm78-isa",
        },
        .attach_adapter = lm78_isa_attach_adapter,
index ae05e483a77877673ea47825960d955e4c2162c7..236f9f29c624647dcea8e4eb9518be488cabcce7 100644 (file)
@@ -238,6 +238,7 @@ static struct pc87360_data *pc87360_update_device(struct device *dev);
 
 static struct i2c_driver pc87360_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "pc87360",
        },
        .attach_adapter = pc87360_detect,
index 063f71c5f07eabf14f33dc671e2b1da6df73eedf..3783af4195bd9452e758ac84e874fe132e4d1767 100644 (file)
@@ -200,6 +200,7 @@ static void sis5595_init_client(struct i2c_client *client);
 
 static struct i2c_driver sis5595_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "sis5595",
        },
        .attach_adapter = sis5595_detect,
index b6086186d2259dea1f7235beb246f6b9c5f2672d..a85869393bab323f361a94b3daee02fb46bb599f 100644 (file)
@@ -228,6 +228,7 @@ static int smsc47b397_detect(struct i2c_adapter *adapter);
 
 static struct i2c_driver smsc47b397_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "smsc47b397",
        },
        .attach_adapter = smsc47b397_detect,
index 825e8f72698fdf8d24bf021e88d7551f167749bb..6c81b843d8314b9ef6ee9a4df0003d7fbaa93ad4 100644 (file)
@@ -128,6 +128,7 @@ static struct smsc47m1_data *smsc47m1_update_device(struct device *dev,
 
 static struct i2c_driver smsc47m1_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "smsc47m1",
        },
        .attach_adapter = smsc47m1_detect,
index 166298f1f19023dc349feda1a62f78d104132420..95ae056e5a94a8a8729ddc223ec771b6cb09fb73 100644 (file)
@@ -574,6 +574,7 @@ static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL);
    smbus_driver and isa_driver, and clients could be of either kind */
 static struct i2c_driver via686a_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "via686a",
        },
        .attach_adapter = via686a_detect,
index 686f3deb3093844f4129a338b8e441052225b344..236ccf0e915d70917b248a9f67f23e227fe44e1a 100644 (file)
@@ -587,6 +587,7 @@ static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL);
 
 static struct i2c_driver vt8231_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "vt8231",
        },
        .attach_adapter = vt8231_detect,
index 40301bc6ce186e5a1c92c7a7d9964e945807dac7..b21d6b9d7eac730ede45e89fbd67b871cddcb30d 100644 (file)
@@ -903,6 +903,7 @@ static int w83627ehf_detach_client(struct i2c_client *client)
 
 static struct i2c_driver w83627ehf_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "w83627ehf",
        },
        .attach_adapter = w83627ehf_detect,
index 79368d53c3634645a4a72b9425dd142df9fc4817..30295028ea99238ea89e0d59b40fa580018c5cc6 100644 (file)
@@ -339,6 +339,7 @@ static void w83627hf_init_client(struct i2c_client *client);
 
 static struct i2c_driver w83627hf_driver = {
        .driver = {
+               .owner  = THIS_MODULE,
                .name   = "w83627hf",
        },
        .attach_adapter = w83627hf_detect,
index 7be469ed0f8f4a41cc30c6ecd48eaf09210fafa8..95221b14e13a511749982ae13071932cda5fbe27 100644 (file)
@@ -288,6 +288,7 @@ static struct i2c_driver w83781d_driver = {
 
 static struct i2c_driver w83781d_isa_driver = {
        .driver = {
+               .owner = THIS_MODULE,
                .name = "w83781d-isa",
        },
        .attach_adapter = w83781d_isa_attach_adapter,