Skip to content

Commit

Permalink
s6000-pcm: fix compilation
Browse files Browse the repository at this point in the history
s6000_soc_platform has lost its forward declaration and there no
longer is a name element in it, so use a string constant when
calling request_irq.

Signed-off-by: Daniel Glöckner <daniel-gl@gmx.net>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Daniel Glöckner authored and Mark Brown committed Nov 30, 2010
1 parent b1d36b1 commit 9e4ea71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/s6000/s6000-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ static int s6000_pcm_new(struct snd_card *card,
}

res = request_irq(params->irq, s6000_pcm_irq, IRQF_SHARED,
s6000_soc_platform.name, pcm);
"s6000-audio", pcm);
if (res) {
printk(KERN_ERR "s6000-pcm couldn't get IRQ\n");
return res;
Expand Down

0 comments on commit 9e4ea71

Please sign in to comment.