Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371839
b: refs/heads/master
c: e580f1c
h: refs/heads/master
i:
  371837: 3f75863
  371835: 91c2e95
  371831: 5b1f8df
  371823: 72e2c91
  371807: 7fabd70
  371775: a5f5b51
  371711: b6d643f
v: v3
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Mar 26, 2013
1 parent 77cad2f commit b3f6dc3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 0ba7f849eceed0564928f83aa8ec51906e69336d
refs/heads/master: e580f1ced92e0911cce71c3cae7c6e82159c82b4
9 changes: 7 additions & 2 deletions trunk/sound/soc/pxa/pxa-ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,14 +794,19 @@ static struct snd_soc_dai_driver pxa_ssp_dai = {
.ops = &pxa_ssp_dai_ops,
};

static const struct snd_soc_component_driver pxa_ssp_component = {
.name = "pxa-ssp",
};

static int asoc_ssp_probe(struct platform_device *pdev)
{
return snd_soc_register_dai(&pdev->dev, &pxa_ssp_dai);
return snd_soc_register_component(&pdev->dev, &pxa_ssp_component,
&pxa_ssp_dai, 1);
}

static int asoc_ssp_remove(struct platform_device *pdev)
{
snd_soc_unregister_dai(&pdev->dev);
snd_soc_unregister_component(&pdev->dev);
return 0;
}

Expand Down

0 comments on commit b3f6dc3

Please sign in to comment.