aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-22 15:01:41 -0400
committerDavid S. Miller <davem@davemloft.net>2014-10-24 15:51:42 -0400
commit75da1469f923970627843d68482b6da6ed6f38f9 (patch)
tree9d3dc79eaae7a2ce584b8669db5327eea8e1ed7e /net/lapb
parent5f3619f275adcca531c9bdbddb8583f4e07a2a10 (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.c17
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}
76EXPORT_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}
199EXPORT_SYMBOL(lapb_unregister);
198 200
199int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms) 201int 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)
227out: 229out:
228 return rc; 230 return rc;
229} 231}
232EXPORT_SYMBOL(lapb_getparms);
230 233
231int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms) 234int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms)
232{ 235{
@@ -262,6 +265,7 @@ out_put:
262out: 265out:
263 return rc; 266 return rc;
264} 267}
268EXPORT_SYMBOL(lapb_setparms);
265 269
266int lapb_connect_request(struct net_device *dev) 270int lapb_connect_request(struct net_device *dev)
267{ 271{
@@ -290,6 +294,7 @@ out_put:
290out: 294out:
291 return rc; 295 return rc;
292} 296}
297EXPORT_SYMBOL(lapb_connect_request);
293 298
294int lapb_disconnect_request(struct net_device *dev) 299int lapb_disconnect_request(struct net_device *dev)
295{ 300{
@@ -334,6 +339,7 @@ out_put:
334out: 339out:
335 return rc; 340 return rc;
336} 341}
342EXPORT_SYMBOL(lapb_disconnect_request);
337 343
338int lapb_data_request(struct net_device *dev, struct sk_buff *skb) 344int lapb_data_request(struct net_device *dev, struct sk_buff *skb)
339{ 345{
@@ -355,6 +361,7 @@ out_put:
355out: 361out:
356 return rc; 362 return rc;
357} 363}
364EXPORT_SYMBOL(lapb_data_request);
358 365
359int lapb_data_received(struct net_device *dev, struct sk_buff *skb) 366int 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}
379EXPORT_SYMBOL(lapb_data_received);
372 380
373void lapb_connect_confirmation(struct lapb_cb *lapb, int reason) 381void 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
418EXPORT_SYMBOL(lapb_register);
419EXPORT_SYMBOL(lapb_unregister);
420EXPORT_SYMBOL(lapb_getparms);
421EXPORT_SYMBOL(lapb_setparms);
422EXPORT_SYMBOL(lapb_connect_request);
423EXPORT_SYMBOL(lapb_disconnect_request);
424EXPORT_SYMBOL(lapb_data_request);
425EXPORT_SYMBOL(lapb_data_received);
426
427static int __init lapb_init(void) 426static int __init lapb_init(void)
428{ 427{
429 return 0; 428 return 0;