diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-05-25 12:17:06 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:39 -0400 |
commit | 208fdd2f447899164bd139452c291b155e53cee9 (patch) | |
tree | c65f6dd5ad6846ea7179ece65594033a8dca9731 /drivers/net/wireless/libertas/fw.c | |
parent | 0583e8ef149700ede2aa181509e217c39e565f28 (diff) |
[PATCH] libertas: indirect all hardware access via hw_XXXX functions
This functions makes all libertas_sbi_XXX functions static to the
if_usb.c file and renames them to if_usb_XXXX(). The get called from
other places of the source code via priv->hw_XXXX().
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/fw.c')
-rw-r--r-- | drivers/net/wireless/libertas/fw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/fw.c b/drivers/net/wireless/libertas/fw.c index 2c965b5341d4..dc3d48aefd68 100644 --- a/drivers/net/wireless/libertas/fw.c +++ b/drivers/net/wireless/libertas/fw.c | |||
@@ -5,7 +5,6 @@ | |||
5 | #include <linux/firmware.h> | 5 | #include <linux/firmware.h> |
6 | 6 | ||
7 | #include "host.h" | 7 | #include "host.h" |
8 | #include "sbi.h" | ||
9 | #include "defs.h" | 8 | #include "defs.h" |
10 | #include "decl.h" | 9 | #include "decl.h" |
11 | #include "dev.h" | 10 | #include "dev.h" |
@@ -89,7 +88,7 @@ static int wlan_setup_station_hw(wlan_private * priv) | |||
89 | goto done; | 88 | goto done; |
90 | } | 89 | } |
91 | 90 | ||
92 | ret = libertas_sbi_prog_firmware(priv); | 91 | ret = priv->hw_prog_firmware(priv); |
93 | 92 | ||
94 | release_firmware(priv->firmware); | 93 | release_firmware(priv->firmware); |
95 | 94 | ||