/* wl3501_release - unregister the net, release PCMCIA configuration  */
static void wl3501_release(struct pcmcia_device *link)
/* wl3501_release - unregister the net, release PCMCIA configuration  */
static void wl3501_release(struct pcmcia_device *link)
{
	struct net_device *dev = link->priv;
	if (link->dev_node)
		unregister_netdev(dev);
	pcmcia_disable_device(link);
}