Re: request_irq() change?
On 9/8/07, Bob Beers <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ
Re: request_irq() change?
Hi, Le Sat, 8 Sep 2007 13:59:25 -0400, "Bob Beers" <[EMAIL PROTECTED]> a écrit : > Where can I learn how to modify request_irq() call > when migrating a driver from 2.6.15.x to 2.6.latest? You can have a look at http://lwn.net/Articles/2.6-kernel-api/, which lists the API changes between all 2.6.x kernels since 2.6.8. About request_irq(), it says: « The generic IRQ layer has been merged. The SA_* flags to request_irq() have been renamed; the new prefix is IRQF_. A long series of patches has converted in-tree drivers over to the new names; The old names are scheduled for removal in January, 2007. » Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature
request_irq() change?
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 Thanks, -Bob -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ