diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-22 15:01:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-24 15:51:42 -0400 |
commit | 75da1469f923970627843d68482b6da6ed6f38f9 (patch) | |
tree | 9d3dc79eaae7a2ce584b8669db5327eea8e1ed7e /net/lapb | |
parent | 5f3619f275adcca531c9bdbddb8583f4e07a2a10 (diff) |
lapb: move EXPORT_SYMBOL after functions.
See Documentation/CodingStyle Chapter 6
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb')
-rw-r--r-- | net/lapb/lapb_iface.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c index 3cdaa046c1bc..fc60d9d738b5 100644 --- a/net/lapb/lapb_iface.c +++ b/net/lapb/lapb_iface.c | |||
@@ -73,6 +73,7 @@ static void __lapb_remove_cb(struct lapb_cb *lapb) | |||
73 | lapb_put(lapb); | 73 | lapb_put(lapb); |
74 | } | 74 | } |
75 | } | 75 | } |
76 | EXPORT_SYMBOL(lapb_register); | ||
76 | 77 | ||
77 | /* | 78 | /* |
78 | * Add a socket to the bound sockets list. | 79 | * Add a socket to the bound sockets list. |
@@ -195,6 +196,7 @@ out: | |||
195 | write_unlock_bh(&lapb_list_lock); | 196 | write_unlock_bh(&lapb_list_lock); |
196 | return rc; | 197 | return rc; |
197 | } | 198 | } |
199 | EXPORT_SYMBOL(lapb_unregister); | ||
198 | 200 | ||
199 | int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms) | 201 | int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms) |
200 | { | 202 | { |
@@ -227,6 +229,7 @@ int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms) | |||
227 | out: | 229 | out: |
228 | return rc; | 230 | return rc; |
229 | } | 231 | } |
232 | EXPORT_SYMBOL(lapb_getparms); | ||
230 | 233 | ||
231 | int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms) | 234 | int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms) |
232 | { | 235 | { |
@@ -262,6 +265,7 @@ out_put: | |||
262 | out: | 265 | out: |
263 | return rc; | 266 | return rc; |
264 | } | 267 | } |
268 | EXPORT_SYMBOL(lapb_setparms); | ||
265 | 269 | ||
266 | int lapb_connect_request(struct net_device *dev) | 270 | int lapb_connect_request(struct net_device *dev) |
267 | { | 271 | { |
@@ -290,6 +294,7 @@ out_put: | |||
290 | out: | 294 | out: |
291 | return rc; | 295 | return rc; |
292 | } | 296 | } |
297 | EXPORT_SYMBOL(lapb_connect_request); | ||
293 | 298 | ||
294 | int lapb_disconnect_request(struct net_device *dev) | 299 | int lapb_disconnect_request(struct net_device *dev) |
295 | { | 300 | { |
@@ -334,6 +339,7 @@ out_put: | |||
334 | out: | 339 | out: |
335 | return rc; | 340 | return rc; |
336 | } | 341 | } |
342 | EXPORT_SYMBOL(lapb_disconnect_request); | ||
337 | 343 | ||
338 | int lapb_data_request(struct net_device *dev, struct sk_buff *skb) | 344 | int lapb_data_request(struct net_device *dev, struct sk_buff *skb) |
339 | { | 345 | { |
@@ -355,6 +361,7 @@ out_put: | |||
355 | out: | 361 | out: |
356 | return rc; | 362 | return rc; |
357 | } | 363 | } |
364 | EXPORT_SYMBOL(lapb_data_request); | ||
358 | 365 | ||
359 | int lapb_data_received(struct net_device *dev, struct sk_buff *skb) | 366 | int lapb_data_received(struct net_device *dev, struct sk_buff *skb) |
360 | { | 367 | { |
@@ -369,6 +376,7 @@ int lapb_data_received(struct net_device *dev, struct sk_buff *skb) | |||
369 | 376 | ||
370 | return rc; | 377 | return rc; |
371 | } | 378 | } |
379 | EXPORT_SYMBOL(lapb_data_received); | ||
372 | 380 | ||
373 | void lapb_connect_confirmation(struct lapb_cb *lapb, int reason) | 381 | void lapb_connect_confirmation(struct lapb_cb *lapb, int reason) |
374 | { | 382 | { |
@@ -415,15 +423,6 @@ int lapb_data_transmit(struct lapb_cb *lapb, struct sk_buff *skb) | |||
415 | return used; | 423 | return used; |
416 | } | 424 | } |
417 | 425 | ||
418 | EXPORT_SYMBOL(lapb_register); | ||
419 | EXPORT_SYMBOL(lapb_unregister); | ||
420 | EXPORT_SYMBOL(lapb_getparms); | ||
421 | EXPORT_SYMBOL(lapb_setparms); | ||
422 | EXPORT_SYMBOL(lapb_connect_request); | ||
423 | EXPORT_SYMBOL(lapb_disconnect_request); | ||
424 | EXPORT_SYMBOL(lapb_data_request); | ||
425 | EXPORT_SYMBOL(lapb_data_received); | ||
426 | |||
427 | static int __init lapb_init(void) | 426 | static int __init lapb_init(void) |
428 | { | 427 | { |
429 | return 0; | 428 | return 0; |