aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hermes.c
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@gmail.com>2008-08-21 18:27:49 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-22 19:28:04 -0400
commit82a06ee518f570eb8fbb6588e75a4a5d838ac901 (patch)
treed55cd4ceaefe0ae40081117854ad77519e053096 /drivers/net/wireless/hermes.c
parenta1d81f1523de0c588f1d7798a49d66559f538e4f (diff)
orinoco: Move EXPORT_SYMBOL declarations next to exported function
Signed-off-by: David Kilroy <kilroyd@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hermes.c')
-rw-r--r--drivers/net/wireless/hermes.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/drivers/net/wireless/hermes.c b/drivers/net/wireless/hermes.c
index 3a6ce5a96474..240118f33585 100644
--- a/drivers/net/wireless/hermes.c
+++ b/drivers/net/wireless/hermes.c
@@ -122,6 +122,7 @@ void hermes_struct_init(hermes_t *hw, void __iomem *address, int reg_spacing)
122 hw->reg_spacing = reg_spacing; 122 hw->reg_spacing = reg_spacing;
123 hw->inten = 0x0; 123 hw->inten = 0x0;
124} 124}
125EXPORT_SYMBOL(hermes_struct_init);
125 126
126int hermes_init(hermes_t *hw) 127int hermes_init(hermes_t *hw)
127{ 128{
@@ -202,6 +203,7 @@ int hermes_init(hermes_t *hw)
202 out: 203 out:
203 return err; 204 return err;
204} 205}
206EXPORT_SYMBOL(hermes_init);
205 207
206/* Issue a command to the chip, and (busy!) wait for it to 208/* Issue a command to the chip, and (busy!) wait for it to
207 * complete. 209 * complete.
@@ -272,6 +274,7 @@ int hermes_docmd_wait(hermes_t *hw, u16 cmd, u16 parm0,
272 out: 274 out:
273 return err; 275 return err;
274} 276}
277EXPORT_SYMBOL(hermes_docmd_wait);
275 278
276int hermes_allocate(hermes_t *hw, u16 size, u16 *fid) 279int hermes_allocate(hermes_t *hw, u16 size, u16 *fid)
277{ 280{
@@ -314,7 +317,7 @@ int hermes_allocate(hermes_t *hw, u16 size, u16 *fid)
314 317
315 return 0; 318 return 0;
316} 319}
317 320EXPORT_SYMBOL(hermes_allocate);
318 321
319/* Set up a BAP to read a particular chunk of data from card's internal buffer. 322/* Set up a BAP to read a particular chunk of data from card's internal buffer.
320 * 323 *
@@ -398,6 +401,7 @@ int hermes_bap_pread(hermes_t *hw, int bap, void *buf, int len,
398 out: 401 out:
399 return err; 402 return err;
400} 403}
404EXPORT_SYMBOL(hermes_bap_pread);
401 405
402/* Write a block of data to the chip's buffer, via the 406/* Write a block of data to the chip's buffer, via the
403 * BAP. Synchronization/serialization is the caller's problem. 407 * BAP. Synchronization/serialization is the caller's problem.
@@ -423,6 +427,7 @@ int hermes_bap_pwrite(hermes_t *hw, int bap, const void *buf, int len,
423 out: 427 out:
424 return err; 428 return err;
425} 429}
430EXPORT_SYMBOL(hermes_bap_pwrite);
426 431
427/* Read a Length-Type-Value record from the card. 432/* Read a Length-Type-Value record from the card.
428 * 433 *
@@ -476,6 +481,7 @@ int hermes_read_ltv(hermes_t *hw, int bap, u16 rid, unsigned bufsize,
476 481
477 return 0; 482 return 0;
478} 483}
484EXPORT_SYMBOL(hermes_read_ltv);
479 485
480int hermes_write_ltv(hermes_t *hw, int bap, u16 rid, 486int hermes_write_ltv(hermes_t *hw, int bap, u16 rid,
481 u16 length, const void *value) 487 u16 length, const void *value)
@@ -503,15 +509,6 @@ int hermes_write_ltv(hermes_t *hw, int bap, u16 rid,
503 509
504 return err; 510 return err;
505} 511}
506
507EXPORT_SYMBOL(hermes_struct_init);
508EXPORT_SYMBOL(hermes_init);
509EXPORT_SYMBOL(hermes_docmd_wait);
510EXPORT_SYMBOL(hermes_allocate);
511
512EXPORT_SYMBOL(hermes_bap_pread);
513EXPORT_SYMBOL(hermes_bap_pwrite);
514EXPORT_SYMBOL(hermes_read_ltv);
515EXPORT_SYMBOL(hermes_write_ltv); 512EXPORT_SYMBOL(hermes_write_ltv);
516 513
517static int __init init_hermes(void) 514static int __init init_hermes(void)