X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=ath%2Fif_athvar.h;h=1300dc9d83295f072b9ce24defc5f1968bdd3d0b;hb=6807bc078fbe831c476548c3d720051240ccebf1;hp=a54846137f6c4c969d50d24778698400f742b1f7;hpb=2c0d8db912df58c3a1b506e144e2b5d72edec617;p=madwifi%2F.git diff --git a/ath/if_athvar.h b/ath/if_athvar.h index a548461..1300dc9 100644 --- a/ath/if_athvar.h +++ b/ath/if_athvar.h @@ -104,9 +104,13 @@ typedef void irqreturn_t; #endif /* !defined(IRQ_NONE) */ #ifndef SET_MODULE_OWNER +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) #define SET_MODULE_OWNER(dev) do { \ dev->owner = THIS_MODULE; \ } while (0) +#else +#define SET_MODULE_OWNER(dev) do { } while (0) +#endif #endif #ifndef SET_NETDEV_DEV