Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10612
b: refs/heads/master
c: 8a1b028
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent 1689c7b commit a3700fa
Show file tree
Hide file tree
Showing 3 changed files with 9 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: ca68f1193e8fc86470d4222d563d13b5584dc4f8
refs/heads/master: 8a1b028bca95b5af36e94a660c4d284fe3313f74
4 changes: 4 additions & 0 deletions trunk/drivers/i2c/busses/i2c-ixp2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
#include <asm/hardware.h> /* Pick up IXP2000-specific bits */
#include <asm/arch/gpio.h>

static struct device_driver ixp2000_i2c_driver;

static inline int ixp2000_scl_pin(void *data)
{
return ((struct ixp2000_i2c_pins*)data)->scl_pin;
Expand Down Expand Up @@ -121,6 +123,8 @@ static int ixp2000_i2c_probe(struct device *dev)
drv_data->algo_data.timeout = 100;

drv_data->adapter.id = I2C_HW_B_IXP2000,
strlcpy(drv_data->adapter.name, ixp2000_i2c_driver.name,
I2C_NAME_SIZE);
drv_data->adapter.algo_data = &drv_data->algo_data,

drv_data->adapter.dev.parent = &plat_dev->dev;
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/i2c/busses/i2c-ixp4xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@

#include <asm/hardware.h> /* Pick up IXP4xx-specific bits */

static struct device_driver ixp4xx_i2c_driver;

static inline int ixp4xx_scl_pin(void *data)
{
return ((struct ixp4xx_i2c_pins*)data)->scl_pin;
Expand Down Expand Up @@ -129,6 +131,8 @@ static int ixp4xx_i2c_probe(struct device *dev)
drv_data->algo_data.timeout = 100;

drv_data->adapter.id = I2C_HW_B_IXP4XX;
strlcpy(drv_data->adapter.name, ixp4xx_i2c_driver.name,
I2C_NAME_SIZE);
drv_data->adapter.algo_data = &drv_data->algo_data;

drv_data->adapter.dev.parent = &plat_dev->dev;
Expand Down

0 comments on commit a3700fa

Please sign in to comment.