diff options
Diffstat (limited to 'include/net/wimax.h')
-rw-r--r-- | include/net/wimax.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/net/wimax.h b/include/net/wimax.h index 3461aa1df1e0..7328d5019d88 100644 --- a/include/net/wimax.h +++ b/include/net/wimax.h | |||
@@ -250,7 +250,6 @@ | |||
250 | 250 | ||
251 | #ifndef __NET__WIMAX_H__ | 251 | #ifndef __NET__WIMAX_H__ |
252 | #define __NET__WIMAX_H__ | 252 | #define __NET__WIMAX_H__ |
253 | #ifdef __KERNEL__ | ||
254 | 253 | ||
255 | #include <linux/wimax.h> | 254 | #include <linux/wimax.h> |
256 | #include <net/genetlink.h> | 255 | #include <net/genetlink.h> |
@@ -286,7 +285,7 @@ struct wimax_dev; | |||
286 | * does not disconnect the device from the bus and return 0. | 285 | * does not disconnect the device from the bus and return 0. |
287 | * If that fails, it should resort to some sort of cold or bus | 286 | * If that fails, it should resort to some sort of cold or bus |
288 | * reset (even if it implies a bus disconnection and device | 287 | * reset (even if it implies a bus disconnection and device |
289 | * dissapearance). In that case, -ENODEV should be returned to | 288 | * disappearance). In that case, -ENODEV should be returned to |
290 | * indicate the device is gone. | 289 | * indicate the device is gone. |
291 | * This operation has to be synchronous, and return only when the | 290 | * This operation has to be synchronous, and return only when the |
292 | * reset is complete. In case of having had to resort to bus/cold | 291 | * reset is complete. In case of having had to resort to bus/cold |
@@ -518,8 +517,4 @@ extern ssize_t wimax_msg_len(struct sk_buff *); | |||
518 | extern int wimax_rfkill(struct wimax_dev *, enum wimax_rf_state); | 517 | extern int wimax_rfkill(struct wimax_dev *, enum wimax_rf_state); |
519 | extern int wimax_reset(struct wimax_dev *); | 518 | extern int wimax_reset(struct wimax_dev *); |
520 | 519 | ||
521 | #else | ||
522 | /* You might be looking for linux/wimax.h */ | ||
523 | #error This file should not be included from user space. | ||
524 | #endif /* #ifdef __KERNEL__ */ | ||
525 | #endif /* #ifndef __NET__WIMAX_H__ */ | 520 | #endif /* #ifndef __NET__WIMAX_H__ */ |