brcm80211: smac: change ai_findcoreidx() to ai_findcore()
authorArend van Spriel <arend@broadcom.com>
Mon, 12 Dec 2011 23:14:59 +0000 (15:14 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Dec 2011 20:47:54 +0000 (15:47 -0500)
commitd3126c52eb7f3239b45481facc4078b08ed1027c
tree08dfdfa538e42755831fdf146dbadc99a8a32a7e
parentdd5f13b8a4b5f86e645e7e6662075004d116d5ad
brcm80211: smac: change ai_findcoreidx() to ai_findcore()

Instead of returning the core index the function now returns
the bcma device for the requested core id. This function is
now exposed in the header file.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
drivers/net/wireless/brcm80211/brcmsmac/aiutils.h