From: Arend van Spriel Date: Tue, 18 Oct 2011 12:03:08 +0000 (+0200) Subject: brcm80211: smac: remove phy api bypass in rate.h X-Git-Tag: v3.3-rc1~182^2~545^2~169 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1433c59bcc404cd4bd54333d23ce06242d8e32b7;p=pandora-kernel.git brcm80211: smac: remove phy api bypass in rate.h Obviously the phy api should be used to interface with the phy. In rate.h a table within phy was accessed directly by declaring the table extern in rate.h itself. This patch fixes this using the provided api function to obtain the table reference. This bypass was found by a sparse warning on the table not being defined static. Reviewed-by: Alwin Beukers Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Roland Vossen Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed