mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
11 lines
366 B
Diff
11 lines
366 B
Diff
--- a/drivers/net/wireless/ath/ath9k/gpio.c 2024-09-16 14:38:11.938379419 +0200
|
|
+++ b/drivers/net/wireless/ath/ath9k/gpio.c 2024-09-16 14:38:30.390115635 +0200
|
|
@@ -111,7 +111,7 @@
|
|
gc->gchip.get = ath9k_gpio_pin_get;
|
|
gc->gchip.set = ath9k_gpio_pin_set;
|
|
|
|
- if (gpiochip_add(&gc->gchip)) {
|
|
+ if (gpiochip_add_data(&gc->gchip, NULL)) {
|
|
kfree(gc);
|
|
return;
|
|
}
|