Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206579
b: refs/heads/master
c: 0d9c15e
h: refs/heads/master
i:
  206577: 707a2e4
  206575: edeaf62
v: v3
  • Loading branch information
Maurus Cuelenaere authored and Mark Brown committed Jul 4, 2010
1 parent 37e6fe8 commit 05d0bba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 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: a300de3cfffb9ce7d3e87c8c4f24d22f0a081402
refs/heads/master: 0d9c15e45b362fced933c686c0127e73547bb209
11 changes: 10 additions & 1 deletion trunk/sound/soc/codecs/wm8750.c
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ static int wm8750_i2c_remove(struct i2c_client *client)

static const struct i2c_device_id wm8750_i2c_id[] = {
{ "wm8750", 0 },
{ "wm8987", 0 }, /* WM8987 is register compatible with WM8750 */
{ }
};
MODULE_DEVICE_TABLE(i2c, wm8750_i2c_id);
Expand Down Expand Up @@ -925,14 +926,22 @@ static int __devexit wm8750_spi_remove(struct spi_device *spi)
return 0;
}

static const struct spi_device_id wm8750_spi_id[] = {
{ "wm8750", 0 },
{ "wm8987", 0 },
{ }
};
MODULE_DEVICE_TABLE(spi, wm8750_spi_id);

static struct spi_driver wm8750_spi_driver = {
.driver = {
.name = "wm8750",
.name = "WM8750 SPI Codec",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8750_spi_probe,
.remove = __devexit_p(wm8750_spi_remove),
.id_table = wm8750_spi_id,
};
#endif

Expand Down

0 comments on commit 05d0bba

Please sign in to comment.