diff options
| author | Martin Dalecki <dalecki@evision-ventures.com> | 2002-05-28 02:25:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-05-28 02:25:34 -0700 |
| commit | 5fb231d28e7fd73eb5a1adb8f263d07355e198b7 (patch) | |
| tree | a0364a6d959345cfb13f749db67f594b1e4e6662 /drivers/net/wireless/airo.c | |
| parent | 9c4d67fb1d289ae8da08615265b56e7fbe66a2eb (diff) | |
[PATCH] airo
Since apparently no body else did care thus far, and since I'm using
this driver, well here it comes:
- Adjust the airo wireless LAN card driver for the fact that modules
don't export symbols by default any longer.
- Make some stuff which obivously should be static there static as well.
(Plenty of code in Linux actually deserves a review for this
far too common bug...)
Diffstat (limited to 'drivers/net/wireless/airo.c')
| -rw-r--r-- | drivers/net/wireless/airo.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 454ad2adfc8a..cb824b5cd4df 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c @@ -1146,6 +1146,8 @@ void stop_airo_card( struct net_device *dev, int freeres ) kfree( dev ); } +EXPORT_SYMBOL(stop_airo_card); + static int add_airo_dev( struct net_device *dev ); struct net_device *init_airo_card( unsigned short irq, int port, int is_pcmcia ) @@ -1239,7 +1241,9 @@ err_out_free: return NULL; } -int waitbusy (struct airo_info *ai) { +EXPORT_SYMBOL(init_airo_card); + +static int waitbusy (struct airo_info *ai) { int delay = 0; while ((IN4500 (ai, COMMAND) & COMMAND_BUSY) & (delay < 10000)) { udelay (10); @@ -1283,7 +1287,9 @@ int reset_airo_card( struct net_device *dev ) { return 0; } -int wll_header_parse(struct sk_buff *skb, unsigned char *haddr) +EXPORT_SYMBOL(reset_airo_card); + +static int wll_header_parse(struct sk_buff *skb, unsigned char *haddr) { memcpy(haddr, skb->mac.raw + 10, ETH_ALEN); return ETH_ALEN; |
