Commit 23024c26 authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[PATCH] ini9100u build fix

From: Christoph Hellwig <hch@infradead.org>

- Remove dead forward declarations

- Fix compilation of the interrupt handler.
parent 8884e676
...@@ -180,15 +180,6 @@ static int setup_debug = 0; ...@@ -180,15 +180,6 @@ static int setup_debug = 0;
static char *setup_str = (char *) NULL; static char *setup_str = (char *) NULL;
static irqreturn_t i91u_intr0(int irq, void *dev_id, struct pt_regs *);
static irqreturn_t i91u_intr1(int irq, void *dev_id, struct pt_regs *);
static irqreturn_t i91u_intr2(int irq, void *dev_id, struct pt_regs *);
static irqreturn_t i91u_intr3(int irq, void *dev_id, struct pt_regs *);
static irqreturn_t i91u_intr4(int irq, void *dev_id, struct pt_regs *);
static irqreturn_t i91u_intr5(int irq, void *dev_id, struct pt_regs *);
static irqreturn_t i91u_intr6(int irq, void *dev_id, struct pt_regs *);
static irqreturn_t i91u_intr7(int irq, void *dev_id, struct pt_regs *);
static void i91u_panic(char *msg); static void i91u_panic(char *msg);
static void i91uSCBPost(BYTE * pHcb, BYTE * pScb); static void i91uSCBPost(BYTE * pHcb, BYTE * pScb);
...@@ -278,7 +269,7 @@ static irqreturn_t i91u_intr(int irqno, void *dev_id, struct pt_regs *regs) ...@@ -278,7 +269,7 @@ static irqreturn_t i91u_intr(int irqno, void *dev_id, struct pt_regs *regs)
unsigned long flags; unsigned long flags;
spin_lock_irqsave(dev->host_lock, flags); spin_lock_irqsave(dev->host_lock, flags);
tul_isr((HCS *)hreg->base); tul_isr((HCS *)dev->base);
spin_unlock_irqrestore(dev->host_lock, flags); spin_unlock_irqrestore(dev->host_lock, flags);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment