/* Return Value 0 on success, non-zero error code otherwise.  */
static int pmcraid_register_interrupt_handler(struct pmcraid_instance *pinstance)
/* Return Value 0 on success, non-zero error code otherwise.  */
static int pmcraid_register_interrupt_handler(struct pmcraid_instance *pinstance)
{
	struct pci_dev *pdev = pinstance->pdev;
	pinstance->hrrq_vector[0].hrrq_id = 0;
	pinstance->hrrq_vector[0].drv_inst = pinstance;
	pinstance->hrrq_vector[0].vector = 0;
	pinstance->num_hrrq = 1;
	return request_irq(pdev->irq, pmcraid_isr, IRQF_SHARED,
			   PMCRAID_DRIVER_NAME, &pinstance->hrrq_vector[0]);
}