#define EXPORT_SYMTAB
#endif
-#ifndef AUTOCONF_INCLUDED
+#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
#include <linux/config.h>
#endif
#include <linux/version.h>
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;
/*