diff options
Diffstat (limited to 'net/llc/llc_core.c')
-rw-r--r-- | net/llc/llc_core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/llc/llc_core.c b/net/llc/llc_core.c index 2bb0ddff8c0f..842851cef698 100644 --- a/net/llc/llc_core.c +++ b/net/llc/llc_core.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <net/llc.h> | 23 | #include <net/llc.h> |
24 | 24 | ||
25 | LIST_HEAD(llc_sap_list); | 25 | LIST_HEAD(llc_sap_list); |
26 | DEFINE_SPINLOCK(llc_sap_list_lock); | 26 | static DEFINE_SPINLOCK(llc_sap_list_lock); |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * llc_sap_alloc - allocates and initializes sap. | 29 | * llc_sap_alloc - allocates and initializes sap. |
@@ -48,7 +48,7 @@ static struct llc_sap *llc_sap_alloc(void) | |||
48 | 48 | ||
49 | static struct llc_sap *__llc_sap_find(unsigned char sap_value) | 49 | static struct llc_sap *__llc_sap_find(unsigned char sap_value) |
50 | { | 50 | { |
51 | struct llc_sap* sap; | 51 | struct llc_sap *sap; |
52 | 52 | ||
53 | list_for_each_entry(sap, &llc_sap_list, node) | 53 | list_for_each_entry(sap, &llc_sap_list, node) |
54 | if (sap->laddr.lsap == sap_value) | 54 | if (sap->laddr.lsap == sap_value) |
@@ -159,7 +159,6 @@ module_init(llc_init); | |||
159 | module_exit(llc_exit); | 159 | module_exit(llc_exit); |
160 | 160 | ||
161 | EXPORT_SYMBOL(llc_sap_list); | 161 | EXPORT_SYMBOL(llc_sap_list); |
162 | EXPORT_SYMBOL(llc_sap_list_lock); | ||
163 | EXPORT_SYMBOL(llc_sap_find); | 162 | EXPORT_SYMBOL(llc_sap_find); |
164 | EXPORT_SYMBOL(llc_sap_open); | 163 | EXPORT_SYMBOL(llc_sap_open); |
165 | EXPORT_SYMBOL(llc_sap_close); | 164 | EXPORT_SYMBOL(llc_sap_close); |