Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

au1550_spi: fix prototype of irq handler

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 <jan.nikitenko@gmail.com>
Signed-off-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jan Nikitenko and committed by
Linus Torvalds
40369e1c 12d48739

+2 -2
+2 -2
drivers/spi/au1550_spi.c
··· 99 99 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw); 100 100 101 101 102 - /** 102 + /* 103 103 * compute BRG and DIV bits to setup spi clock based on main input clock rate 104 104 * that was specified in platform data structure 105 105 * according to au1550 datasheet: ··· 650 650 return hw->txrx_bufs(spi, t); 651 651 } 652 652 653 - static irqreturn_t au1550_spi_irq(int irq, void *dev, struct pt_regs *regs) 653 + static irqreturn_t au1550_spi_irq(int irq, void *dev) 654 654 { 655 655 struct au1550_spi *hw = dev; 656 656 return hw->irq_callback(hw);