Reputation: 41
Whats the difference between request_irq and setup_irq?
When to use request_irq() when to go with setup_irq()
Upvotes: 1
Views: 934
Reputation: 1172
From the kernel source, kernel/irq/manage.c, setup_irq() is "Used to statically setup interrupts in the early boot process."
request_irq() is the function that you would use under most circumstances.
Upvotes: 3