Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289038
b: refs/heads/master
c: 54461c3
h: refs/heads/master
v: v3
  • Loading branch information
Olof Johansson authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent ab46cd8 commit c12fbae
Show file tree
Hide file tree
Showing 2 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: 4ee195241a3d9384ad222da7c593f7565a7cf518
refs/heads/master: 54461c3067b2dce5947c9e4f88a8d905dca2c0c9
8 changes: 8 additions & 0 deletions trunk/drivers/staging/iio/magnetometer/ak8975.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,17 @@ static const struct i2c_device_id ak8975_id[] = {

MODULE_DEVICE_TABLE(i2c, ak8975_id);

static const struct of_device_id ak8975_of_match[] = {
{ .compatible = "asahi-kasei,ak8975", },
{ .compatible = "ak8975", },
{ }
};
MODULE_DEVICE_TABLE(of, ak8975_of_match);

static struct i2c_driver ak8975_driver = {
.driver = {
.name = "ak8975",
.of_match_table = ak8975_of_match,
},
.probe = ak8975_probe,
.remove = __devexit_p(ak8975_remove),
Expand Down

0 comments on commit c12fbae

Please sign in to comment.