/* Free resources claimed by sym_iomap_device(). Note that sym_free_resources() should be used instead of this function after calling sym_attach().  */
static void __devinit sym_iounmap_device(struct sym_device *device)
/* Free resources claimed by sym_iomap_device(). Note that sym_free_resources() should be used instead of this function after calling sym_attach().  */
static void __devinit sym_iounmap_device(struct sym_device *device)
{
	if (device->s.ioaddr)
		pci_iounmap(device->pdev, device->s.ioaddr);
	if (device->s.ramaddr)
		pci_iounmap(device->pdev, device->s.ramaddr);
}