This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / block / DAC960.c
index f6d08ba..3eb7bbb 100644 (file)
@@ -2678,7 +2678,7 @@ DAC960_DetectController(struct pci_dev *PCI_Device,
   DAC960_Controller_T *Controller = NULL;
   unsigned char DeviceFunction = PCI_Device->devfn;
   unsigned char ErrorStatus, Parameter0, Parameter1;
-  unsigned int IRQ_Channel;
+  unsigned int IRQ_Channel = PCI_Device->irq;
   void __iomem *BaseAddress;
   int i;
 
@@ -2958,7 +2958,6 @@ DAC960_DetectController(struct pci_dev *PCI_Device,
   /*
      Acquire shared access to the IRQ Channel.
   */
-  IRQ_Channel = PCI_Device->irq;
   if (request_irq(IRQ_Channel, InterruptHandler, SA_SHIRQ,
                      Controller->FullModelName, Controller) < 0)
   {