File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ static int __init bottomhalf_init(void)
80
80
pr_info ("Successfully requested BUTTON1 IRQ # %d\n" , button_irqs [0 ]);
81
81
82
82
ret = request_threaded_irq (
83
- gpio_to_irq ( button_irqs [0 ]) , button_top_half , button_bottom_half ,
83
+ button_irqs [0 ], button_top_half , button_bottom_half ,
84
84
IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING , "gpiomod#button1" , NULL );
85
85
86
86
if (ret ) {
@@ -100,7 +100,7 @@ static int __init bottomhalf_init(void)
100
100
pr_info ("Successfully requested BUTTON2 IRQ # %d\n" , button_irqs [1 ]);
101
101
102
102
ret = request_threaded_irq (
103
- gpio_to_irq ( button_irqs [1 ]) , button_top_half , button_bottom_half ,
103
+ button_irqs [1 ], button_top_half , button_bottom_half ,
104
104
IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING , "gpiomod#button2" , NULL );
105
105
106
106
if (ret ) {
You can’t perform that action at this time.
0 commit comments