[PATCH] libertas: provide reset_card() callback on OLPC

Holger Schurig hs4233 at mail.mn-solutions.de
Wed May 21 04:51:00 EDT 2008


> You're asking why the ->reset_card() callback even has an
> argument at all?

No, as this function might be used by others (e.g. the SDIO 
people), I'm happy with a priv argument there. With "this 
function" I meant "if_usb_reset_olpc_card()". This get's priv, 
but doesn't need it. So you can as well make it 
if_usb_reset_olpc_card(void).

In this case the #define  if_usb_reset_olpc_card (0) in the 
non-OLCP-case would work there, too.



More information about the libertas-dev mailing list