commit | f9f84e96f6d642aa7b337c22cbb7d6f936039fda | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Wed Mar 23 20:57:24 2011 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Mar 30 14:15:19 2011 -0400 |
tree | f9887db51eda5716a8d1a33abee9af7b9d7fb5f3 | |
parent | ec15e68ba6a505631016f230899bafbb7b8cd0d6 [diff] |
ath9k_hw: embed the ath_ops callbacks in the ath_hw struct With this change, loading the address to a register read/write function costs only one pointer dereference instead of two. On MIPS this reduces ath9k_hw binary size from 326k down to 321k. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>