Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e4ea718 authored by Daniel Glöckner's avatar Daniel Glöckner Committed by Mark Brown
Browse files

s6000-pcm: fix compilation



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: default avatarDaniel Glöckner <daniel-gl@gmx.net>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent b1d36b1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -473,7 +473,7 @@ static int s6000_pcm_new(struct snd_card *card,
	}
	}


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