Commit f0190329 authored by Margit Schubert-While's avatar Margit Schubert-While Committed by Stephen Hemminger

[PATCH] prism54 cleanup functions

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Clean up function definitions (missing static, extraneous inline)
parent 1a3256cb
...@@ -577,7 +577,7 @@ prism54_set_scan(struct net_device *dev, struct iw_request_info *info, ...@@ -577,7 +577,7 @@ prism54_set_scan(struct net_device *dev, struct iw_request_info *info,
* the "Aironet driver for 4500 and 4800 series cards" (GPL) * the "Aironet driver for 4500 and 4800 series cards" (GPL)
*/ */
inline char * static char *
prism54_translate_bss(struct net_device *ndev, char *current_ev, prism54_translate_bss(struct net_device *ndev, char *current_ev,
char *end_buf, struct obj_bss *bss, char noise) char *end_buf, struct obj_bss *bss, char noise)
{ {
...@@ -1502,7 +1502,7 @@ prism54_kick_mac(struct net_device *ndev, struct iw_request_info *info, ...@@ -1502,7 +1502,7 @@ prism54_kick_mac(struct net_device *ndev, struct iw_request_info *info,
/* Translate a TRAP oid into a wireless event. Called in islpci_mgt_receive. */ /* Translate a TRAP oid into a wireless event. Called in islpci_mgt_receive. */
static inline void static void
format_event(islpci_private *priv, char *dest, const char *str, format_event(islpci_private *priv, char *dest, const char *str,
const struct obj_mlme *mlme, u16 *length, int error) const struct obj_mlme *mlme, u16 *length, int error)
{ {
......
...@@ -41,6 +41,9 @@ ...@@ -41,6 +41,9 @@
#define ISL3877_IMAGE_FILE "isl3877" #define ISL3877_IMAGE_FILE "isl3877"
#define ISL3890_IMAGE_FILE "isl3890" #define ISL3890_IMAGE_FILE "isl3890"
static int prism54_bring_down(islpci_private *);
static int islpci_alloc_memory(islpci_private *);
/* Temporary dummy MAC address to use until firmware is loaded. /* Temporary dummy MAC address to use until firmware is loaded.
* The idea there is that some tools (such as nameif) may query * The idea there is that some tools (such as nameif) may query
* the MAC address before the netdev is 'open'. By using a valid * the MAC address before the netdev is 'open'. By using a valid
...@@ -390,7 +393,7 @@ islpci_close(struct net_device *ndev) ...@@ -390,7 +393,7 @@ islpci_close(struct net_device *ndev)
return prism54_bring_down(priv); return prism54_bring_down(priv);
} }
int static int
prism54_bring_down(islpci_private *priv) prism54_bring_down(islpci_private *priv)
{ {
void *device_base = priv->device_base; void *device_base = priv->device_base;
...@@ -601,7 +604,7 @@ islpci_statistics(struct net_device *ndev) ...@@ -601,7 +604,7 @@ islpci_statistics(struct net_device *ndev)
/****************************************************************************** /******************************************************************************
Network device configuration functions Network device configuration functions
******************************************************************************/ ******************************************************************************/
int static int
islpci_alloc_memory(islpci_private *priv) islpci_alloc_memory(islpci_private *priv)
{ {
int counter; int counter;
......
...@@ -210,8 +210,6 @@ islpci_trigger(islpci_private *priv) ...@@ -210,8 +210,6 @@ islpci_trigger(islpci_private *priv)
struct net_device_stats *islpci_statistics(struct net_device *); struct net_device_stats *islpci_statistics(struct net_device *);
int prism54_bring_down(islpci_private *);
int islpci_alloc_memory(islpci_private *);
int islpci_free_memory(islpci_private *); int islpci_free_memory(islpci_private *);
struct net_device *islpci_setup(struct pci_dev *); struct net_device *islpci_setup(struct pci_dev *);
#endif /* _ISLPCI_DEV_H */ #endif /* _ISLPCI_DEV_H */
...@@ -675,7 +675,7 @@ mgt_commit(islpci_private *priv) ...@@ -675,7 +675,7 @@ mgt_commit(islpci_private *priv)
/* This will tell you if you are allowed to answer a mlme(ex) request .*/ /* This will tell you if you are allowed to answer a mlme(ex) request .*/
inline int int
mgt_mlme_answer(islpci_private *priv) mgt_mlme_answer(islpci_private *priv)
{ {
u32 mlmeautolevel; u32 mlmeautolevel;
...@@ -692,7 +692,7 @@ mgt_mlme_answer(islpci_private *priv) ...@@ -692,7 +692,7 @@ mgt_mlme_answer(islpci_private *priv)
(mlmeautolevel >= DOT11_MLME_INTERMEDIATE)); (mlmeautolevel >= DOT11_MLME_INTERMEDIATE));
} }
inline enum oid_num_t enum oid_num_t
mgt_oidtonum(u32 oid) mgt_oidtonum(u32 oid)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment