ath9k: fix unloading the module
authorFelix Fietkau <nbd@nbd.name>
Thu, 20 Sep 2018 08:06:49 +0000 (10:06 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 20 Sep 2018 08:08:17 +0000 (10:08 +0200)
commitccab68f2d399d2395a18d1fb3495fe7e048fe054
treed40b70d7a17f51390d9aea1ff74cd7d3540acfd2
parent5efd080e20f83556c0e3acb4d9c56673ec577d27
ath9k: fix unloading the module

Registering a GPIO chip with the ath9k device as parent prevents unload,
because the gpiochip core increases the module use count.
Unfortunately, the only way to avoid this at the moment seems to be to
register the GPIO chip without a parent device

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mac80211/patches/548-ath9k_enable_gpio_chip.patch
package/kernel/mac80211/patches/549-ath9k_enable_gpio_buttons.patch