mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
irq.c: use IRQ_NONE like dummy-irq
This commit is contained in:
@@ -55,7 +55,7 @@ static int major;
|
|||||||
static irqreturn_t handler(int irq, void *dev)
|
static irqreturn_t handler(int irq, void *dev)
|
||||||
{
|
{
|
||||||
pr_info("handler irq = %d dev = %d\n", irq, *(int *)dev);
|
pr_info("handler irq = %d dev = %d\n", irq, *(int *)dev);
|
||||||
return IRQ_HANDLED;
|
return IRQ_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct file_operations fops;
|
static const struct file_operations fops;
|
||||||
|
|||||||
Reference in New Issue
Block a user