aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/wimax.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/include/net/wimax.h b/include/net/wimax.h
index bbb74f990cab..98498e1daa06 100644
--- a/include/net/wimax.h
+++ b/include/net/wimax.h
@@ -438,9 +438,9 @@ struct wimax_dev {
438 * 438 *
439 * These functions are not exported to user space. 439 * These functions are not exported to user space.
440 */ 440 */
441extern void wimax_dev_init(struct wimax_dev *); 441void wimax_dev_init(struct wimax_dev *);
442extern int wimax_dev_add(struct wimax_dev *, struct net_device *); 442int wimax_dev_add(struct wimax_dev *, struct net_device *);
443extern void wimax_dev_rm(struct wimax_dev *); 443void wimax_dev_rm(struct wimax_dev *);
444 444
445static inline 445static inline
446struct wimax_dev *net_dev_to_wimax(struct net_device *net_dev) 446struct wimax_dev *net_dev_to_wimax(struct net_device *net_dev)
@@ -454,8 +454,8 @@ struct device *wimax_dev_to_dev(struct wimax_dev *wimax_dev)
454 return wimax_dev->net_dev->dev.parent; 454 return wimax_dev->net_dev->dev.parent;
455} 455}
456 456
457extern void wimax_state_change(struct wimax_dev *, enum wimax_st); 457void wimax_state_change(struct wimax_dev *, enum wimax_st);
458extern enum wimax_st wimax_state_get(struct wimax_dev *); 458enum wimax_st wimax_state_get(struct wimax_dev *);
459 459
460/* 460/*
461 * Radio Switch state reporting. 461 * Radio Switch state reporting.
@@ -463,8 +463,8 @@ extern enum wimax_st wimax_state_get(struct wimax_dev *);
463 * enum wimax_rf_state is declared in linux/wimax.h so the exports 463 * enum wimax_rf_state is declared in linux/wimax.h so the exports
464 * to user space can use it. 464 * to user space can use it.
465 */ 465 */
466extern void wimax_report_rfkill_hw(struct wimax_dev *, enum wimax_rf_state); 466void wimax_report_rfkill_hw(struct wimax_dev *, enum wimax_rf_state);
467extern void wimax_report_rfkill_sw(struct wimax_dev *, enum wimax_rf_state); 467void wimax_report_rfkill_sw(struct wimax_dev *, enum wimax_rf_state);
468 468
469 469
470/* 470/*
@@ -490,15 +490,14 @@ extern void wimax_report_rfkill_sw(struct wimax_dev *, enum wimax_rf_state);
490 * send diagnostics information that a device-specific diagnostics 490 * send diagnostics information that a device-specific diagnostics
491 * tool would be interested in. 491 * tool would be interested in.
492 */ 492 */
493extern struct sk_buff *wimax_msg_alloc(struct wimax_dev *, const char *, 493struct sk_buff *wimax_msg_alloc(struct wimax_dev *, const char *, const void *,
494 const void *, size_t, gfp_t); 494 size_t, gfp_t);
495extern int wimax_msg_send(struct wimax_dev *, struct sk_buff *); 495int wimax_msg_send(struct wimax_dev *, struct sk_buff *);
496extern int wimax_msg(struct wimax_dev *, const char *, 496int wimax_msg(struct wimax_dev *, const char *, const void *, size_t, gfp_t);
497 const void *, size_t, gfp_t);
498 497
499extern const void *wimax_msg_data_len(struct sk_buff *, size_t *); 498const void *wimax_msg_data_len(struct sk_buff *, size_t *);
500extern const void *wimax_msg_data(struct sk_buff *); 499const void *wimax_msg_data(struct sk_buff *);
501extern ssize_t wimax_msg_len(struct sk_buff *); 500ssize_t wimax_msg_len(struct sk_buff *);
502 501
503 502
504/* 503/*
@@ -513,7 +512,7 @@ extern ssize_t wimax_msg_len(struct sk_buff *);
513 * device's control structure and (as such) the 'struct wimax_dev' is 512 * device's control structure and (as such) the 'struct wimax_dev' is
514 * referenced by the caller. 513 * referenced by the caller.
515 */ 514 */
516extern int wimax_rfkill(struct wimax_dev *, enum wimax_rf_state); 515int wimax_rfkill(struct wimax_dev *, enum wimax_rf_state);
517extern int wimax_reset(struct wimax_dev *); 516int wimax_reset(struct wimax_dev *);
518 517
519#endif /* #ifndef __NET__WIMAX_H__ */ 518#endif /* #ifndef __NET__WIMAX_H__ */