[AX.25]: Move AX.25 symbol exports
Move AX.25 symbol exports to next to their definitions where they're supposed to be these days. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3ab33dcc82
commit
70868eace5
@@ -12,6 +12,7 @@
|
||||
#include <linux/socket.h>
|
||||
#include <linux/in.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/timer.h>
|
||||
@@ -74,6 +75,8 @@ int ax25_protocol_register(unsigned int pid,
|
||||
return 1;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ax25_protocol_register);
|
||||
|
||||
void ax25_protocol_release(unsigned int pid)
|
||||
{
|
||||
struct protocol_struct *s, *protocol;
|
||||
@@ -106,6 +109,8 @@ void ax25_protocol_release(unsigned int pid)
|
||||
write_unlock(&protocol_list_lock);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ax25_protocol_release);
|
||||
|
||||
int ax25_linkfail_register(void (*func)(ax25_cb *, int))
|
||||
{
|
||||
struct linkfail_struct *linkfail;
|
||||
@@ -123,6 +128,8 @@ int ax25_linkfail_register(void (*func)(ax25_cb *, int))
|
||||
return 1;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ax25_linkfail_register);
|
||||
|
||||
void ax25_linkfail_release(void (*func)(ax25_cb *, int))
|
||||
{
|
||||
struct linkfail_struct *s, *linkfail;
|
||||
@@ -155,6 +162,8 @@ void ax25_linkfail_release(void (*func)(ax25_cb *, int))
|
||||
spin_unlock_bh(&linkfail_lock);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ax25_linkfail_release);
|
||||
|
||||
int ax25_listen_register(ax25_address *callsign, struct net_device *dev)
|
||||
{
|
||||
struct listen_struct *listen;
|
||||
@@ -176,6 +185,8 @@ int ax25_listen_register(ax25_address *callsign, struct net_device *dev)
|
||||
return 1;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ax25_listen_register);
|
||||
|
||||
void ax25_listen_release(ax25_address *callsign, struct net_device *dev)
|
||||
{
|
||||
struct listen_struct *s, *listen;
|
||||
@@ -208,6 +219,8 @@ void ax25_listen_release(ax25_address *callsign, struct net_device *dev)
|
||||
spin_unlock_bh(&listen_lock);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ax25_listen_release);
|
||||
|
||||
int (*ax25_protocol_function(unsigned int pid))(struct sk_buff *, ax25_cb *)
|
||||
{
|
||||
int (*res)(struct sk_buff *, ax25_cb *) = NULL;
|
||||
|
Reference in New Issue
Block a user