Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357597
b: refs/heads/master
c: 154c4c7
h: refs/heads/master
i:
  357595: 7098632
v: v3
  • Loading branch information
Vishwanathrao Badarkhe, Manish authored and Samuel Ortiz committed Feb 13, 2013
1 parent 4937137 commit 9ba7efc
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 306df798507d8e009a7d4a5e8ce238a3b107de20
refs/heads/master: 154c4c7b613049168e2923d096b7c2d100ba8a6a
9 changes: 9 additions & 0 deletions trunk/drivers/mfd/tps6507x.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/of_device.h>
#include <linux/mfd/core.h>
#include <linux/mfd/tps6507x.h>

Expand Down Expand Up @@ -116,11 +117,19 @@ static const struct i2c_device_id tps6507x_i2c_id[] = {
};
MODULE_DEVICE_TABLE(i2c, tps6507x_i2c_id);

#ifdef CONFIG_OF
static struct of_device_id tps6507x_of_match[] = {
{.compatible = "ti,tps6507x", },
{},
};
MODULE_DEVICE_TABLE(of, tps6507x_of_match);
#endif

static struct i2c_driver tps6507x_i2c_driver = {
.driver = {
.name = "tps6507x",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(tps6507x_of_match),
},
.probe = tps6507x_i2c_probe,
.remove = tps6507x_i2c_remove,
Expand Down

0 comments on commit 9ba7efc

Please sign in to comment.