Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126952
b: refs/heads/master
c: e1995f6
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare committed Jan 7, 2009
1 parent e0e0bb0 commit 1bdda9d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 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: 22e965c2aeb3e636831c8b28f9d7d8e25199891e
refs/heads/master: e1995f65be0786ca201f466f049dad1e2e4c3421
2 changes: 1 addition & 1 deletion trunk/drivers/i2c/busses/i2c-bfin-twi.c
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ static int i2c_bfin_twi_probe(struct platform_device *pdev)
strlcpy(p_adap->name, pdev->name, sizeof(p_adap->name));
p_adap->algo = &bfin_twi_algorithm;
p_adap->algo_data = iface;
p_adap->class = I2C_CLASS_ALL;
p_adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD;
p_adap->dev.parent = &pdev->dev;

rc = peripheral_request_list(pin_req[pdev->id], "i2c-bfin-twi");
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/i2c/busses/i2c-sh7760.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ static int __devinit sh7760_i2c_probe(struct platform_device *pdev)

id->adap.nr = pdev->id;
id->adap.algo = &sh7760_i2c_algo;
id->adap.class = I2C_CLASS_ALL;
id->adap.class = I2C_CLASS_HWMON | I2C_CLASS_SPD;
id->adap.retries = 3;
id->adap.algo_data = id;
id->adap.dev.parent = &pdev->dev;
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ static inline void i2c_set_adapdata(struct i2c_adapter *dev, void *data)
#define I2C_CLASS_CAM_DIGITAL (1<<5) /* most webcams */
#define I2C_CLASS_SOUND (1<<6) /* sound devices */
#define I2C_CLASS_SPD (1<<7) /* SPD EEPROMs and similar */
#define I2C_CLASS_ALL (UINT_MAX) /* all of the above */

/* i2c_client_address_data is the struct for holding default client
* addresses for a driver and for the parameters supplied on the
Expand Down

0 comments on commit 1bdda9d

Please sign in to comment.