Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10631
b: refs/heads/master
c: 6586bcd
h: refs/heads/master
i:
  10629: 87453e6
  10627: 1c93450
  10623: 1598fbf
v: v3
  • Loading branch information
Laurent Riffard authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent 098c979 commit 4f1f510
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e78f857cc5299c3f6b3d046084696ef205948837
refs/heads/master: 6586bcd7b2bbe255110b2db772da4415c7865a2a
3 changes: 3 additions & 0 deletions trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ void i2c_adapter_dev_release(struct device *dev)
}

struct device_driver i2c_adapter_driver = {
.owner = THIS_MODULE,
.name = "i2c_adapter",
.bus = &i2c_bus_type,
.probe = i2c_device_probe,
Expand All @@ -98,6 +99,7 @@ static void i2c_adapter_class_dev_release(struct class_device *dev)
}

struct class i2c_adapter_class = {
.owner = THIS_MODULE,
.name = "i2c-adapter",
.release = &i2c_adapter_class_dev_release,
};
Expand Down Expand Up @@ -291,6 +293,7 @@ int i2c_add_driver(struct i2c_driver *driver)
down(&core_lists);

/* add the driver to the list of i2c drivers in the driver core */
driver->driver.owner = driver->owner;
driver->driver.name = driver->name;
driver->driver.bus = &i2c_bus_type;
driver->driver.probe = i2c_device_probe;
Expand Down

0 comments on commit 4f1f510

Please sign in to comment.