Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308477
b: refs/heads/master
c: a5063f1
h: refs/heads/master
i:
  308475: fa58ca3
v: v3
  • Loading branch information
Ganesan Ramalingam authored and Wolfram Sang committed May 12, 2012
1 parent 1041842 commit 82865a6
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c889e91d2cc22123f20f40dde0c0a91856a20eea
refs/heads/master: a5063f16e2963c5d5b54692fb2da2e327162da78
3 changes: 3 additions & 0 deletions trunk/drivers/i2c/busses/i2c-ocores.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#include <linux/i2c-ocores.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/of_i2c.h>

struct ocores_i2c {
void __iomem *base;
Expand Down Expand Up @@ -343,6 +344,8 @@ static int __devinit ocores_i2c_probe(struct platform_device *pdev)
if (pdata) {
for (i = 0; i < pdata->num_devices; i++)
i2c_new_device(&i2c->adap, pdata->devices + i);
} else {
of_i2c_register_devices(&i2c->adap);
}

return 0;
Expand Down

0 comments on commit 82865a6

Please sign in to comment.