Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101320
b: refs/heads/master
c: e9ca9eb
h: refs/heads/master
v: v3
  • Loading branch information
Jon Smirl authored and Jean Delvare committed Jul 14, 2008
1 parent 009ca0b commit 6a9fa44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f09f71b24e77a2f2b4e5c98311c8804fc61ad8bc
refs/heads/master: e9ca9eb9d7fc7bf3dc3cec5ba7edb089c4625f7b
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static struct device_attribute i2c_dev_attrs[] = {
{ },
};

static struct bus_type i2c_bus_type = {
struct bus_type i2c_bus_type = {
.name = "i2c",
.dev_attrs = i2c_dev_attrs,
.match = i2c_device_match,
Expand All @@ -212,6 +212,7 @@ static struct bus_type i2c_bus_type = {
.suspend = i2c_device_suspend,
.resume = i2c_device_resume,
};
EXPORT_SYMBOL_GPL(i2c_bus_type);


/**
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include <linux/sched.h> /* for completion */
#include <linux/mutex.h>

extern struct bus_type i2c_bus_type;

/* --- General options ------------------------------------------------ */

struct i2c_msg;
Expand Down

0 comments on commit 6a9fa44

Please sign in to comment.