Ignore:
Timestamp:
Mar 24, 2008, 9:35:14 AM (17 years ago)
Author:
Paul Smedley
Message:

Fix warnings related to request_irq()

Location:
GPL/branches/uniaud-2.0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud-2.0/alsa-kernel/include/sound/config.h

    r311 r314  
    485485typedef irqreturn_t (*snd_irq_handler_t)(int, void *);
    486486#define irq_handler_t snd_irq_handler_t
     487#undef irq_handler_t
     488#define irq_handler_t snd_irq_handler_t
     489int request_irq(unsigned int, irq_handler_t handler,
     490                    unsigned long, const char *, void *);
    487491
    488492#ifndef MODULE_ALIAS
  • GPL/branches/uniaud-2.0/include/linux/sched.h

    r211 r314  
    4747
    4848// 12 Jun 07 SHL Drop superfluous near
     49#if 0
    4950extern int request_irq(unsigned int,
    5051                       int (*handler)(int, void *, struct pt_regs *),
    5152                       unsigned long, const char *, void *);
     53#endif
    5254extern void free_irq(unsigned int, void *);
    5355extern void eoi_irq(unsigned int);
  • GPL/branches/uniaud-2.0/lib32/irq.c

    r84 r314  
    6666//******************************************************************************
    6767
    68 int request_irq(unsigned int irq,
    69                 int (near *handler)(int, void *, struct pt_regs *),
    70                 unsigned long x0, const char *x1, void *x2)
     68int request_irq(unsigned irq, irq_handler_t handler,
     69                    unsigned long x0, const char *x1, void *x2)
    7170{
    7271    IRQ_SLOT    *pSlot = FindSlot(irq);
Note: See TracChangeset for help on using the changeset viewer.