#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
+#include <linux/bitops.h>
#include <asm/system.h>
-#include <asm/bitops.h>
#include <asm/io.h>
#include <asm/dma.h>
release_region(dev->base_addr, NETCARD_IO_EXTENT);
}
+#ifndef MODULE
struct net_device * __init netcard_probe(int unit)
{
struct net_device *dev = alloc_etherdev(sizeof(struct net_local));
free_netdev(dev);
return ERR_PTR(err);
}
+#endif
/*
* This is the real probe routine. Linux has a history of friendly device