--- ipw2200-1.2.2/ipw2200.h 2007-07-12 08:01:19.000000000 +0200 +++ ipw2200-1.2.2-2.6.24/ipw2200.h 2008-03-16 19:42:37.000000000 +0100 @@ -1808,6 +1808,17 @@ #define IPW_ORD_TABLE_7_MASK 0x0000F700 /* + * For backword Kernel compatibility (after 2.6.24) + */ +#if !defined(MAC_ARG) +#define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5] +#endif + +#if !defined(SET_MODULE_OWNER) +#define SET_MODULE_OWNER(dev) do { } while (0) +#endif + +/* * Table 0 Entries (all entries are 32 bits) */ enum {