summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-10-11 13:18:40 +0200
committerJohn W. Linville <linville@tuxdriver.com>2013-10-14 13:39:57 -0400
commita44d01419ca4f8f4bec721504fa257b6c438c77c (patch)
tree392bf8f12a9014e4b7f66575380ad8067d42d1e0 /lib/Kconfig.debug
parent42f920c90d881535c049d776b692ccde3f5a10d5 (diff)
downloadlinux-a44d01419ca4f8f4bec721504fa257b6c438c77c.tar.bz2
rt2x00: add rt2x00_has_cap_* helpers
The rt2x00 code directly accesses the 'cap_flags' field of 'struct rt2x00_dev' when checking presence of a given capability flag. The direct access needs long expressions which lowers readability of the code. Add a few helper functions which can be used to test device capabilities without directly accessing the cap_flags filed. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions