Re: [PATCH 06/06] ARM: mach-shmobile: Rework sh7372 INTCS demuxer

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


On Wed, Mar 28, 2012 at 03:41:05PM +0900, Magnus Damm wrote:
> @@ -554,12 +548,24 @@ static void intcs_demux(unsigned int irq
>  	generic_handle_irq(intcs_evt2irq(evtcodeas));
>  }
>  
> +static void intcs_nop(struct irq_data *data)
> +{
> +}
> +
> +static struct irq_chip intcs_cascade_chip = {
> +	.name		= "INTCS-cascade",
> +	.irq_mask	= intcs_nop,
> +	.irq_unmask	= intcs_nop,
> +	.irq_eoi	= intcs_nop,
> +};
> +

There's no need for this, see kernel/irq/dummychip.c. You can just use
dummy_irq_chip directly, as we already do for the multi-evt cascade case.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux OMAP]     [Linux USB Devel]     [Linux ARM Kernel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [X.Org]

Add to Google Powered by Linux