From: Jan Nikitenko <[EMAIL PROTECTED]>

Remove struct pt_regs *regs from prototype of au1550_spi_irq handler to
avoid warning in request_irq().  Also fix comment type leadin.

Signed-off-by: Jan Nikitenko <[EMAIL PROTECTED]>
---
Compile fix ... seems like 2.6.25-final fodder.

 drivers/spi/au1550_spi.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- g26.orig/drivers/spi/au1550_spi.c   2007-08-12 10:54:36.000000000 -0700
+++ g26/drivers/spi/au1550_spi.c        2008-03-11 09:09:45.000000000 -0700
@@ -99,7 +99,7 @@ static dbdev_tab_t au1550_spi_mem_dbdev 
 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw);
 
 
-/**
+/*
  *  compute BRG and DIV bits to setup spi clock based on main input clock rate
  *  that was specified in platform data structure
  *  according to au1550 datasheet:
@@ -650,7 +650,7 @@ static int au1550_spi_txrx_bufs(struct s
        return hw->txrx_bufs(spi, t);
 }
 
-static irqreturn_t au1550_spi_irq(int irq, void *dev, struct pt_regs *regs)
+static irqreturn_t au1550_spi_irq(int irq, void *dev)
 {
        struct au1550_spi *hw = dev;
        return hw->irq_callback(hw);

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to