On Wed, Jan 11, 2012 at 9:22 PM, Grant Likely <grant.likely@xxxxxxxxxxxx> wrote: > NO_IRQ is evil. Stop using it in arch/powerpc and powerpc device drivers > diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c > index 3e06696..55c6ff9 100644 > --- a/sound/soc/fsl/fsl_ssi.c > +++ b/sound/soc/fsl/fsl_ssi.c > @@ -666,7 +666,7 @@ static int __devinit fsl_ssi_probe(struct platform_device *pdev) > ssi_private->ssi_phys = res.start; > > ssi_private->irq = irq_of_parse_and_map(np, 0); > - if (ssi_private->irq == NO_IRQ) { > + if (!ssi_private->irq) { > dev_err(&pdev->dev, "no irq for node %s\n", np->full_name); > ret = -ENXIO; > goto error_iomap; What's the plan with this patch? This is now failing on xtensa, as it's one of the architectures that doesn't define NO_IRQ. Only arm, c6x, mn10300, openrisc, parisc, powerpc, and sparc define it. sound/soc/fsl/fsl_ssi.c:705:26: error: 'NO_IRQ' undeclared (first use in this function) make[4]: *** [sound/soc/fsl/fsl_ssi.o] Error 1 http://kisskb.ellerman.id.au/kisskb/buildresult/9187959/ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html