diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-11 17:44:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:06:51 -0800 |
commit | 2fd6cfe307557f3022b47288db3dc094c076e539 (patch) | |
tree | 3c446e7276c312522e037830243893b9b4c22324 /drivers/net/wireless/libertas/cmd.c | |
parent | cb182a602802b36ff992afe238e1a3eafc0956b2 (diff) | |
download | lwn-2fd6cfe307557f3022b47288db3dc094c076e539.tar.gz lwn-2fd6cfe307557f3022b47288db3dc094c076e539.zip |
libertas: make some more functions static
sparse was getting on my tits.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 0f07c2ab9cac..2228feccb249 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c @@ -14,8 +14,8 @@ #include "cmd.h" static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode); -struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv); -void lbs_set_cmd_ctrl_node(struct lbs_private *priv, +static struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv); +static void lbs_set_cmd_ctrl_node(struct lbs_private *priv, struct cmd_ctrl_node *ptempnode, u16 wait_option, void *pdata_buf); @@ -1716,7 +1716,7 @@ done: * @param priv A pointer to struct lbs_private structure * @return cmd_ctrl_node A pointer to cmd_ctrl_node structure or NULL */ -struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv) +static struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv) { struct cmd_ctrl_node *tempnode; unsigned long flags; @@ -1780,9 +1780,9 @@ static void cleanup_cmdnode(struct cmd_ctrl_node *cmdnode) * @param pdata_buf A pointer to informaion buffer * @return 0 or -1 */ -void lbs_set_cmd_ctrl_node(struct lbs_private *priv, - struct cmd_ctrl_node *ptempnode, - u16 wait_option, void *pdata_buf) +static void lbs_set_cmd_ctrl_node(struct lbs_private *priv, + struct cmd_ctrl_node *ptempnode, + u16 wait_option, void *pdata_buf) { lbs_deb_enter(LBS_DEB_HOST); |