diff options
Diffstat (limited to 'net/irda/qos.c')
-rw-r--r-- | net/irda/qos.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/irda/qos.c b/net/irda/qos.c index 1b51bcf42394..798ffd9a705e 100644 --- a/net/irda/qos.c +++ b/net/irda/qos.c | |||
@@ -30,6 +30,8 @@ | |||
30 | * | 30 | * |
31 | ********************************************************************/ | 31 | ********************************************************************/ |
32 | 32 | ||
33 | #include <linux/export.h> | ||
34 | |||
33 | #include <asm/byteorder.h> | 35 | #include <asm/byteorder.h> |
34 | 36 | ||
35 | #include <net/irda/irda.h> | 37 | #include <net/irda/irda.h> |
@@ -60,7 +62,7 @@ int sysctl_max_noreply_time = 12; | |||
60 | * Default is 10us which means using the unmodified value given by the | 62 | * Default is 10us which means using the unmodified value given by the |
61 | * peer except if it's 0 (0 is likely a bug in the other stack). | 63 | * peer except if it's 0 (0 is likely a bug in the other stack). |
62 | */ | 64 | */ |
63 | unsigned sysctl_min_tx_turn_time = 10; | 65 | unsigned int sysctl_min_tx_turn_time = 10; |
64 | /* | 66 | /* |
65 | * Maximum data size to be used in transmission in payload of LAP frame. | 67 | * Maximum data size to be used in transmission in payload of LAP frame. |
66 | * There is a bit of confusion in the IrDA spec : | 68 | * There is a bit of confusion in the IrDA spec : |
@@ -75,13 +77,13 @@ unsigned sysctl_min_tx_turn_time = 10; | |||
75 | * bytes frames or all negotiated frame sizes, but you can use the sysctl | 77 | * bytes frames or all negotiated frame sizes, but you can use the sysctl |
76 | * to play with this value anyway. | 78 | * to play with this value anyway. |
77 | * Jean II */ | 79 | * Jean II */ |
78 | unsigned sysctl_max_tx_data_size = 2042; | 80 | unsigned int sysctl_max_tx_data_size = 2042; |
79 | /* | 81 | /* |
80 | * Maximum transmit window, i.e. number of LAP frames between turn-around. | 82 | * Maximum transmit window, i.e. number of LAP frames between turn-around. |
81 | * This allow to override what the peer told us. Some peers are buggy and | 83 | * This allow to override what the peer told us. Some peers are buggy and |
82 | * don't always support what they tell us. | 84 | * don't always support what they tell us. |
83 | * Jean II */ | 85 | * Jean II */ |
84 | unsigned sysctl_max_tx_window = 7; | 86 | unsigned int sysctl_max_tx_window = 7; |
85 | 87 | ||
86 | static int irlap_param_baud_rate(void *instance, irda_param_t *param, int get); | 88 | static int irlap_param_baud_rate(void *instance, irda_param_t *param, int get); |
87 | static int irlap_param_link_disconnect(void *instance, irda_param_t *parm, | 89 | static int irlap_param_link_disconnect(void *instance, irda_param_t *parm, |