Skip to content

Commit

Permalink
i2c-isa: Restore driver owner
Browse files Browse the repository at this point in the history
i2c-isa: Restore driver owner

Commit 2b48716 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>
  • Loading branch information
Jean Delvare authored and gregkh committed Sep 26, 2006
1 parent c243353 commit 8721884
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/hwmon/it87.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/lm78.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/pc87360.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/sis5595.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/smsc47b397.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/smsc47m1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/via686a.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/vt8231.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/w83627ehf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/w83627hf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/w83781d.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8721884

Please sign in to comment.