Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68583
b: refs/heads/master
c: 83eaaed
h: refs/heads/master
i:
  68581: ade1e61
  68579: e4bd07c
  68575: d22824c
v: v3
  • Loading branch information
Adrian Bunk authored and Jean Delvare committed Oct 13, 2007
1 parent de21ff6 commit 8a15f80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 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: 3bbb835d4c53faf0bca62f0e39835926bef40b1f
refs/heads/master: 83eaaed0d00c4c8e3081dc29286910899fed3182
7 changes: 3 additions & 4 deletions trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ static struct device_attribute i2c_dev_attrs[] = {
{ },
};

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

/**
* i2c_new_device - instantiate an i2c device for use with a new style driver
Expand Down Expand Up @@ -281,7 +280,7 @@ EXPORT_SYMBOL_GPL(i2c_unregister_device);

/* I2C bus adapters -- one roots each I2C or SMBUS segment */

void i2c_adapter_dev_release(struct device *dev)
static void i2c_adapter_dev_release(struct device *dev)
{
struct i2c_adapter *adap = to_i2c_adapter(dev);
complete(&adap->dev_released);
Expand All @@ -299,7 +298,7 @@ static struct device_attribute i2c_adapter_attrs[] = {
{ },
};

struct class i2c_adapter_class = {
static struct class i2c_adapter_class = {
.owner = THIS_MODULE,
.name = "i2c-adapter",
.dev_attrs = i2c_adapter_attrs,
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
#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 8a15f80

Please sign in to comment.