diff options
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 12 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 8 |
3 files changed, 11 insertions, 11 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 @@ | |||
14 | #include "cmd.h" | 14 | #include "cmd.h" |
15 | 15 | ||
16 | static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode); | 16 | static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode); |
17 | struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv); | 17 | static struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv); |
18 | void lbs_set_cmd_ctrl_node(struct lbs_private *priv, | 18 | static void lbs_set_cmd_ctrl_node(struct lbs_private *priv, |
19 | struct cmd_ctrl_node *ptempnode, | 19 | struct cmd_ctrl_node *ptempnode, |
20 | u16 wait_option, void *pdata_buf); | 20 | u16 wait_option, void *pdata_buf); |
21 | 21 | ||
@@ -1716,7 +1716,7 @@ done: | |||
1716 | * @param priv A pointer to struct lbs_private structure | 1716 | * @param priv A pointer to struct lbs_private structure |
1717 | * @return cmd_ctrl_node A pointer to cmd_ctrl_node structure or NULL | 1717 | * @return cmd_ctrl_node A pointer to cmd_ctrl_node structure or NULL |
1718 | */ | 1718 | */ |
1719 | struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv) | 1719 | static struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv) |
1720 | { | 1720 | { |
1721 | struct cmd_ctrl_node *tempnode; | 1721 | struct cmd_ctrl_node *tempnode; |
1722 | unsigned long flags; | 1722 | unsigned long flags; |
@@ -1780,9 +1780,9 @@ static void cleanup_cmdnode(struct cmd_ctrl_node *cmdnode) | |||
1780 | * @param pdata_buf A pointer to informaion buffer | 1780 | * @param pdata_buf A pointer to informaion buffer |
1781 | * @return 0 or -1 | 1781 | * @return 0 or -1 |
1782 | */ | 1782 | */ |
1783 | void lbs_set_cmd_ctrl_node(struct lbs_private *priv, | 1783 | static void lbs_set_cmd_ctrl_node(struct lbs_private *priv, |
1784 | struct cmd_ctrl_node *ptempnode, | 1784 | struct cmd_ctrl_node *ptempnode, |
1785 | u16 wait_option, void *pdata_buf) | 1785 | u16 wait_option, void *pdata_buf) |
1786 | { | 1786 | { |
1787 | lbs_deb_enter(LBS_DEB_HOST); | 1787 | lbs_deb_enter(LBS_DEB_HOST); |
1788 | 1788 | ||
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index a0866efb9647..7c57ff44ad01 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c | |||
@@ -113,7 +113,7 @@ static void if_usb_set_boot2_ver(struct lbs_private *priv) | |||
113 | lbs_deb_usb("Setting boot2 version failed\n"); | 113 | lbs_deb_usb("Setting boot2 version failed\n"); |
114 | } | 114 | } |
115 | 115 | ||
116 | void if_usb_fw_timeo(unsigned long priv) | 116 | static void if_usb_fw_timeo(unsigned long priv) |
117 | { | 117 | { |
118 | struct usb_card_rec *cardp = (void *)priv; | 118 | struct usb_card_rec *cardp = (void *)priv; |
119 | 119 | ||
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 2fe7ad0f8327..c51d3af131fd 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -252,8 +252,8 @@ static ssize_t lbs_anycast_set(struct device *dev, | |||
252 | return strlen(buf); | 252 | return strlen(buf); |
253 | } | 253 | } |
254 | 254 | ||
255 | int lbs_add_rtap(struct lbs_private *priv); | 255 | static int lbs_add_rtap(struct lbs_private *priv); |
256 | void lbs_remove_rtap(struct lbs_private *priv); | 256 | static void lbs_remove_rtap(struct lbs_private *priv); |
257 | 257 | ||
258 | /** | 258 | /** |
259 | * Get function for sysfs attribute rtap | 259 | * Get function for sysfs attribute rtap |
@@ -1423,7 +1423,7 @@ static struct net_device_stats *lbs_rtap_get_stats(struct net_device *dev) | |||
1423 | } | 1423 | } |
1424 | 1424 | ||
1425 | 1425 | ||
1426 | void lbs_remove_rtap(struct lbs_private *priv) | 1426 | static void lbs_remove_rtap(struct lbs_private *priv) |
1427 | { | 1427 | { |
1428 | if (priv->rtap_net_dev == NULL) | 1428 | if (priv->rtap_net_dev == NULL) |
1429 | return; | 1429 | return; |
@@ -1432,7 +1432,7 @@ void lbs_remove_rtap(struct lbs_private *priv) | |||
1432 | priv->rtap_net_dev = NULL; | 1432 | priv->rtap_net_dev = NULL; |
1433 | } | 1433 | } |
1434 | 1434 | ||
1435 | int lbs_add_rtap(struct lbs_private *priv) | 1435 | static int lbs_add_rtap(struct lbs_private *priv) |
1436 | { | 1436 | { |
1437 | int rc = 0; | 1437 | int rc = 0; |
1438 | struct net_device *rtap_dev; | 1438 | struct net_device *rtap_dev; |