-
- if(request_irq(irq, NCR_700_intr, SA_SHIRQ, "sim710", host)) {
- printk(KERN_ERR "sim710: irq problem with %d, detaching\n",
- irq);
- goto out_unregister;
+ host->base = base_addr;
+ host->irq = irq;
+ if (request_irq(irq, NCR_700_intr, IRQF_SHARED, "sim710", host)) {
+ printk(KERN_ERR "sim710: request_irq failed\n");
+ goto out_put_host;