On 07/12/2013 12:36 PM, Vipul Nayyar wrote:
I agree that g_cs variable has no important use and can be replaced. Do you
want to use the pointer cs like this ? Or someway else ?

void cs8900_isr(cs8900_device *cs)
{
     cs8900_interrupt(BSP_EINT3, cs);
}

Yes, this is good.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : [email protected]
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to