Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282405
b: refs/heads/master
c: e948981
h: refs/heads/master
i:
  282403: 9bcf814
v: v3
  • Loading branch information
Olof Johansson authored and Dmitry Torokhov committed Dec 24, 2011
1 parent 7a314c0 commit 6d71fec
Show file tree
Hide file tree
Showing 2 changed files with 8 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: e24f734ef12571e7106d948208cc9aeae74de876
refs/heads/master: e948981aa0c97b6fcaa8626eeddb0340e175e9d7
7 changes: 7 additions & 0 deletions trunk/drivers/input/misc/mpu3050.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,18 @@ static const struct i2c_device_id mpu3050_ids[] = {
};
MODULE_DEVICE_TABLE(i2c, mpu3050_ids);

static const struct of_device_id mpu3050_of_match[] = {
{ .compatible = "invn,mpu3050", },
{ },
};
MODULE_DEVICE_TABLE(of, mpu3050_of_match);

static struct i2c_driver mpu3050_i2c_driver = {
.driver = {
.name = "mpu3050",
.owner = THIS_MODULE,
.pm = &mpu3050_pm,
.of_match_table = mpu3050_of_match,
},
.probe = mpu3050_probe,
.remove = __devexit_p(mpu3050_remove),
Expand Down

0 comments on commit 6d71fec

Please sign in to comment.