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:09:10 +0000 (10:09 +0200)
commitf506de2cdaf92a5716298cf9d63cc686a1097a29
treeef709afc2cd0a898c01e896a86c8011c4a6d980a
parent7347ea7453aed1f5e6bf222761e3e5bd6b5d13e7
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