Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165397
b: refs/heads/master
c: 9e108d3
h: refs/heads/master
i:
  165395: 088ebc4
v: v3
  • Loading branch information
Liam Girdwood committed Sep 22, 2009
1 parent 876b4fe commit 30af7c6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 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: 040932cdcfca9b0ac55a4f74f194c2e2c8a2527b
refs/heads/master: 9e108d33edcb88bac3db39ba1683fc2c0591d7d4
11 changes: 6 additions & 5 deletions trunk/drivers/regulator/tps65023-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,10 @@ static const struct tps_info tps65023_regs[] = {
},
};

static const struct i2c_device_id tps_65023_id = {
.name = "tps65023",
.driver_data = (unsigned long) &tps65023_regs[0],
static const struct i2c_device_id tps_65023_id[] = {
{.name = "tps65023",
.driver_data = (unsigned long) tps65023_regs,},
{ },
};

MODULE_DEVICE_TABLE(i2c, tps_65023_id);
Expand All @@ -601,7 +602,7 @@ static struct i2c_driver tps_65023_i2c_driver = {
},
.probe = tps_65023_probe,
.remove = __devexit_p(tps_65023_remove),
.id_table = &tps_65023_id,
.id_table = tps_65023_id,
};

/**
Expand All @@ -628,4 +629,4 @@ module_exit(tps_65023_cleanup);

MODULE_AUTHOR("Texas Instruments");
MODULE_DESCRIPTION("TPS65023 voltage regulator driver");
MODULE_LICENSE("GPLv2");
MODULE_LICENSE("GPL v2");
11 changes: 6 additions & 5 deletions trunk/drivers/regulator/tps6507x-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,10 @@ static const struct tps_info tps6507x_regs[] = {
},
};

static const struct i2c_device_id tps_6507x_id = {
.name = "tps6507x",
.driver_data = (unsigned long) &tps6507x_regs[0],
static const struct i2c_device_id tps_6507x_id[] = {
{.name = "tps6507x",
.driver_data = (unsigned long) tps6507x_regs,},
{ },
};
MODULE_DEVICE_TABLE(i2c, tps_6507x_id);

Expand All @@ -683,7 +684,7 @@ static struct i2c_driver tps_6507x_i2c_driver = {
},
.probe = tps_6507x_probe,
.remove = __devexit_p(tps_6507x_remove),
.id_table = &tps_6507x_id,
.id_table = tps_6507x_id,
};

/**
Expand All @@ -710,4 +711,4 @@ module_exit(tps_6507x_cleanup);

MODULE_AUTHOR("Texas Instruments");
MODULE_DESCRIPTION("TPS6507x voltage regulator driver");
MODULE_LICENSE("GPLv2");
MODULE_LICENSE("GPL v2");

0 comments on commit 30af7c6

Please sign in to comment.