Re: [PATCH v2] xtensa: define NO_IRQ as 0, remove other definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 12, 2013 at 9:17 AM, Max Filippov <jcmvbkbc@xxxxxxxxx> wrote:
>
> sound/soc/fsl/fsl_ssi.c: In function 'fsl_ssi_probe':
> sound/soc/fsl/fsl_ssi.c:939:26: error: 'NO_IRQ' undeclared (first use in this function)
>
> Previous definitions (-1) were correct when used as a hardware IRQ number,
> but are incorrect as a mapped IRQ number.
>
> Signed-off-by: Max Filippov <jcmvbkbc@xxxxxxxxx>
> ---
>  arch/xtensa/include/asm/irq.h                      |    4 ++++
>  .../platforms/xtfpga/include/platform/hardware.h   |    4 ----
>  arch/xtensa/variants/s6000/include/variant/irq.h   |    1 -
>  3 files changed, 4 insertions(+), 5 deletions(-)

Shouldn't sound/soc/fsl/fsl_ssi.c be changed instead:

-if (ssi_private->irq == NO_IRQ) {
+if (!ssi_private->irq) {

Cfr. the thread https://lkml.org/lkml/2013/7/25/642

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-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux