projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull bugzilla-6687 into test branch
[firefly-linux-kernel-4.4.55.git]
/
net
/
ax25
/
ax25_addr.c
diff --git
a/net/ax25/ax25_addr.c
b/net/ax25/ax25_addr.c
index 0164a155b8c492b2ef6918d3b8010d7150126119..5f0896ad0042d59662d33e351853a83538e13a96 100644
(file)
--- a/
net/ax25/ax25_addr.c
+++ b/
net/ax25/ax25_addr.c
@@
-11,6
+11,7
@@
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/kernel.h>
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/string.h>
@@
-33,6
+34,8
@@
*/
ax25_address null_ax25_address = {{0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00}};
*/
ax25_address null_ax25_address = {{0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00}};
+EXPORT_SYMBOL(null_ax25_address);
+
/*
* ax25 -> ascii conversion
*/
/*
* ax25 -> ascii conversion
*/
@@
-64,6
+67,8
@@
char *ax2asc(char *buf, ax25_address *a)
}
}
+EXPORT_SYMBOL(ax2asc);
+
/*
* ascii -> ax25 conversion
*/
/*
* ascii -> ax25 conversion
*/
@@
-97,6
+102,8
@@
void asc2ax(ax25_address *addr, char *callsign)
addr->ax25_call[6] &= 0x1E;
}
addr->ax25_call[6] &= 0x1E;
}
+EXPORT_SYMBOL(asc2ax);
+
/*
* Compare two ax.25 addresses
*/
/*
* Compare two ax.25 addresses
*/
@@
-116,6
+123,8
@@
int ax25cmp(ax25_address *a, ax25_address *b)
return 2; /* Partial match */
}
return 2; /* Partial match */
}
+EXPORT_SYMBOL(ax25cmp);
+
/*
* Compare two AX.25 digipeater paths.
*/
/*
* Compare two AX.25 digipeater paths.
*/