diff options
-rw-r--r-- | include/net/wimax.h | 33 |
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 | */ |
441 | extern void wimax_dev_init(struct wimax_dev *); | 441 | void wimax_dev_init(struct wimax_dev *); |
442 | extern int wimax_dev_add(struct wimax_dev *, struct net_device *); | 442 | int wimax_dev_add(struct wimax_dev *, struct net_device *); |
443 | extern void wimax_dev_rm(struct wimax_dev *); | 443 | void wimax_dev_rm(struct wimax_dev *); |
444 | 444 | ||
445 | static inline | 445 | static inline |
446 | struct wimax_dev *net_dev_to_wimax(struct net_device *net_dev) | 446 | struct 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 | ||
457 | extern void wimax_state_change(struct wimax_dev *, enum wimax_st); | 457 | void wimax_state_change(struct wimax_dev *, enum wimax_st); |
458 | extern enum wimax_st wimax_state_get(struct wimax_dev *); | 458 | enum 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 | */ |
466 | extern void wimax_report_rfkill_hw(struct wimax_dev *, enum wimax_rf_state); | 466 | void wimax_report_rfkill_hw(struct wimax_dev *, enum wimax_rf_state); |
467 | extern void wimax_report_rfkill_sw(struct wimax_dev *, enum wimax_rf_state); | 467 | void 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 | */ |
493 | extern struct sk_buff *wimax_msg_alloc(struct wimax_dev *, const char *, | 493 | struct sk_buff *wimax_msg_alloc(struct wimax_dev *, const char *, const void *, |
494 | const void *, size_t, gfp_t); | 494 | size_t, gfp_t); |
495 | extern int wimax_msg_send(struct wimax_dev *, struct sk_buff *); | 495 | int wimax_msg_send(struct wimax_dev *, struct sk_buff *); |
496 | extern int wimax_msg(struct wimax_dev *, const char *, | 496 | int wimax_msg(struct wimax_dev *, const char *, const void *, size_t, gfp_t); |
497 | const void *, size_t, gfp_t); | ||
498 | 497 | ||
499 | extern const void *wimax_msg_data_len(struct sk_buff *, size_t *); | 498 | const void *wimax_msg_data_len(struct sk_buff *, size_t *); |
500 | extern const void *wimax_msg_data(struct sk_buff *); | 499 | const void *wimax_msg_data(struct sk_buff *); |
501 | extern ssize_t wimax_msg_len(struct sk_buff *); | 500 | ssize_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 | */ |
516 | extern int wimax_rfkill(struct wimax_dev *, enum wimax_rf_state); | 515 | int wimax_rfkill(struct wimax_dev *, enum wimax_rf_state); |
517 | extern int wimax_reset(struct wimax_dev *); | 516 | int wimax_reset(struct wimax_dev *); |
518 | 517 | ||
519 | #endif /* #ifndef __NET__WIMAX_H__ */ | 518 | #endif /* #ifndef __NET__WIMAX_H__ */ |