[SPARC] minor irq handler cleanups
- mark timer_interrupt() static - sparc_floppy_request_irq() prototype should use irq_handler_t Signed-off-by: Jeff Garzik <jgarzik@redhat.com> Acked-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
90968eb5a4
Коммит
5dc0742b41
|
@ -105,7 +105,7 @@ __volatile__ unsigned int *master_l10_limit;
|
||||||
|
|
||||||
#define TICK_SIZE (tick_nsec / 1000)
|
#define TICK_SIZE (tick_nsec / 1000)
|
||||||
|
|
||||||
irqreturn_t timer_interrupt(int irq, void *dev_id)
|
static irqreturn_t timer_interrupt(int dummy, void *dev_id)
|
||||||
{
|
{
|
||||||
/* last time the cmos clock got updated */
|
/* last time the cmos clock got updated */
|
||||||
static long last_rtc_update;
|
static long last_rtc_update;
|
||||||
|
|
|
@ -280,7 +280,7 @@ static inline void sun_fd_enable_dma(void)
|
||||||
|
|
||||||
/* Our low-level entry point in arch/sparc/kernel/entry.S */
|
/* Our low-level entry point in arch/sparc/kernel/entry.S */
|
||||||
extern int sparc_floppy_request_irq(int irq, unsigned long flags,
|
extern int sparc_floppy_request_irq(int irq, unsigned long flags,
|
||||||
irqreturn_t (*irq_handler)(int irq, void *));
|
irq_handler_t irq_handler);
|
||||||
|
|
||||||
static int sun_fd_request_irq(void)
|
static int sun_fd_request_irq(void)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче