Re: request_irq() change?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/8/07, Bob Beers <bob.beers@xxxxxxxxx> wrote:
> Where can I learn how to modify request_irq() call
>  when migrating a driver from 2.6.15.x to 2.6.latest?
>
> I get this error:
>
> warning: passing arg 2 of `request_irq' from incompatible pointer type

I guess the fix is to remove the last argument, struct pt_regs *regs,
 from the interrupt handler routine's function declaration and leave
 request_irq() alone.  If I am wrong, someone please educate me. :)

-Bob

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux