.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * LAPB release 002 |
---|
3 | 4 | * |
---|
4 | 5 | * This code REQUIRES 2.1.15 or higher/ NET3.038 |
---|
5 | | - * |
---|
6 | | - * This module: |
---|
7 | | - * This module is free software; you can redistribute it and/or |
---|
8 | | - * modify it under the terms of the GNU General Public License |
---|
9 | | - * as published by the Free Software Foundation; either version |
---|
10 | | - * 2 of the License, or (at your option) any later version. |
---|
11 | 6 | * |
---|
12 | 7 | * History |
---|
13 | 8 | * LAPB 001 Jonathan Naylor Started Coding |
---|
.. | .. |
---|
73 | 68 | lapb_put(lapb); |
---|
74 | 69 | } |
---|
75 | 70 | } |
---|
76 | | -EXPORT_SYMBOL(lapb_register); |
---|
77 | 71 | |
---|
78 | 72 | /* |
---|
79 | 73 | * Add a socket to the bound sockets list. |
---|
.. | .. |
---|
119 | 113 | static struct lapb_cb *lapb_create_cb(void) |
---|
120 | 114 | { |
---|
121 | 115 | struct lapb_cb *lapb = kzalloc(sizeof(*lapb), GFP_ATOMIC); |
---|
122 | | - |
---|
123 | 116 | |
---|
124 | 117 | if (!lapb) |
---|
125 | 118 | goto out; |
---|
.. | .. |
---|
172 | 165 | write_unlock_bh(&lapb_list_lock); |
---|
173 | 166 | return rc; |
---|
174 | 167 | } |
---|
| 168 | +EXPORT_SYMBOL(lapb_register); |
---|
175 | 169 | |
---|
176 | 170 | int lapb_unregister(struct net_device *dev) |
---|
177 | 171 | { |
---|