X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=ath%2Fif_ath_ahb.c;h=9b5e9d80d0b278c56b91203490547eec605ae949;hb=e6cb21364bf51cb2379da273339249f05fdb8e30;hp=afb8ab4742f8181e3d365eddec0fa63997c65317;hpb=76cade5dac4bc5dc07d40a924c2837afc4471a2d;p=madwifi%2F.git diff --git a/ath/if_ath_ahb.c b/ath/if_ath_ahb.c index afb8ab4..9b5e9d8 100644 --- a/ath/if_ath_ahb.c +++ b/ath/if_ath_ahb.c @@ -10,7 +10,7 @@ #define EXPORT_SYMTAB #endif -#ifndef AUTOCONF_INCLUDED +#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION) #include #endif #include @@ -199,7 +199,7 @@ init_ath_wmac(u_int16_t devid, u_int16_t wlanNum, struct ar531x_config *config) printk(KERN_ERR "%s: no memory for device state\n", dev_info); goto bad2; } - sc = dev->priv; + sc = netdev_priv(dev); sc->aps_sc.sc_dev = dev; /*