[PATCH] CPM2 cleanups

Wolfgang Denk wd at denx.de
Wed Mar 23 08:18:34 EST 2005


In message <1111523269.2987.58.camel at ad.doubleclick.net> you wrote:
> 
...
> +static unsigned int cpm2_startup_irq(unsigned int irq)
> +{  
> +       cpm2_unmask_irq(irq);
> +       return 0;
> +}
> +
> +static void cpm2_shutdown_irq(unsigned int irq)
> +{
> +       cpm2_mask_irq(irq);
> +}

Why is cpm2_startup_irq() not void like cpm2_shutdown_irq() ?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Overflow on /dev/null, please empty the bit bucket.



More information about the Linuxppc-embedded mailing list