diff options
author | Miaoqing Pan <miaoqing@codeaurora.org> | 2016-03-07 10:38:15 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-03-11 14:00:02 +0200 |
commit | b2d70d4944c1789bc64376ad97a811f37e230c87 (patch) | |
tree | 4e2159a4344b6e9d70e86a434b635bf5160d1ed5 /drivers/net/macvtap.c | |
parent | a01ab81b09c55025365c1de1345b941a18e05529 (diff) |
ath9k: make GPIO API to support both of WMAC and SOC
commit 61b559dea40e ("ath9k: add extra GPIO led support")
added ath9k to support access SOC's GPIOs, but implemented
in a separated API: ath9k_hw_request_gpio().
So this patch make the APIs more common, to support both
of WMAC and SOC GPIOs. The new APIs as below,
void ath9k_hw_gpio_request_in();
void ath9k_hw_gpio_request_out();
void ath9k_hw_gpio_free();
NOTE, the BSP of the SOC chips(AR9340, AR9531, AR9550, AR9561)
should set the corresponding MUX registers correctly.
Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/macvtap.c')
0 files changed, 0 insertions, 0 deletions