mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
81265fd93b
Fix following sparse warnings: symbol 'static_irqaction' was not declared. Should it be static? symbol 'static_irq_count' was not declared. Should it be static? symbol 'irq_action_lock' was not declared. Should it be static? symbol 'unexpected_irq' was not declared. Should it be static? symbol 'handler_irq' was not declared. Should it be static? returning void-valued expression returning void-valued expression returning void-valued expression symbol 'init_IRQ' was not declared. Should it be static? Warnings were fixed by addding proper declarations and fixing return path of a few functions. There remains several warnings all related to the floppy driver. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
287 B
C
16 lines
287 B
C
/* irq.h: IRQ registers on the Sparc.
|
|
*
|
|
* Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
|
|
*/
|
|
|
|
#ifndef _SPARC_IRQ_H
|
|
#define _SPARC_IRQ_H
|
|
|
|
#include <linux/interrupt.h>
|
|
|
|
#define NR_IRQS 16
|
|
|
|
#define irq_canonicalize(irq) (irq)
|
|
|
|
extern void __init init_IRQ(void);
|
|
#endif
|