Author: gherzan Date: Fri Mar 12 18:03:58 2010 New Revision: 2131 Log: kpisa: add netdev_tx_t alias for backward compatibility Modified: trunk/kernel/pisa.c Modified: trunk/kernel/pisa.c ============================================================================== --- trunk/kernel/pisa.c Fri Mar 12 17:28:33 2010 (r2130) +++ trunk/kernel/pisa.c Fri Mar 12 18:03:58 2010 (r2131) @@ -17,6 +17,14 @@ #include <net/rtnetlink.h> +/* Commit dc1f8bf68b311b1537cb65893430b6796118498a from mainline changed + * the type of the value returned by the _xmit routine. + * The following typedef is provided for backward compatibility. + */ +#ifndef netdev_tx_t +typedef int netdev_tx_t +#endif + #define PISA_QUEUE_SIZE 1000 #ifdef _DEBUG