diff options
Diffstat (limited to 'net/nfc/hci/llc.c')
-rw-r--r-- | net/nfc/hci/llc.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/net/nfc/hci/llc.c b/net/nfc/hci/llc.c index bd11b0f7658a..ae1205ded87f 100644 --- a/net/nfc/hci/llc.c +++ b/net/nfc/hci/llc.c | |||
@@ -18,8 +18,8 @@ | |||
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <linux/export.h> | ||
22 | #include <net/nfc/llc.h> | 21 | #include <net/nfc/llc.h> |
22 | |||
23 | #include "llc.h" | 23 | #include "llc.h" |
24 | 24 | ||
25 | static struct list_head llc_engines; | 25 | static struct list_head llc_engines; |
@@ -44,7 +44,6 @@ exit: | |||
44 | nfc_llc_exit(); | 44 | nfc_llc_exit(); |
45 | return r; | 45 | return r; |
46 | } | 46 | } |
47 | EXPORT_SYMBOL(nfc_llc_init); | ||
48 | 47 | ||
49 | void nfc_llc_exit(void) | 48 | void nfc_llc_exit(void) |
50 | { | 49 | { |
@@ -56,7 +55,6 @@ void nfc_llc_exit(void) | |||
56 | kfree(llc_engine); | 55 | kfree(llc_engine); |
57 | } | 56 | } |
58 | } | 57 | } |
59 | EXPORT_SYMBOL(nfc_llc_exit); | ||
60 | 58 | ||
61 | int nfc_llc_register(const char *name, struct nfc_llc_ops *ops) | 59 | int nfc_llc_register(const char *name, struct nfc_llc_ops *ops) |
62 | { | 60 | { |
@@ -78,7 +76,6 @@ int nfc_llc_register(const char *name, struct nfc_llc_ops *ops) | |||
78 | 76 | ||
79 | return 0; | 77 | return 0; |
80 | } | 78 | } |
81 | EXPORT_SYMBOL(nfc_llc_register); | ||
82 | 79 | ||
83 | static struct nfc_llc_engine *nfc_llc_name_to_engine(const char *name) | 80 | static struct nfc_llc_engine *nfc_llc_name_to_engine(const char *name) |
84 | { | 81 | { |
@@ -104,7 +101,6 @@ void nfc_llc_unregister(const char *name) | |||
104 | kfree(llc_engine->name); | 101 | kfree(llc_engine->name); |
105 | kfree(llc_engine); | 102 | kfree(llc_engine); |
106 | } | 103 | } |
107 | EXPORT_SYMBOL(nfc_llc_unregister); | ||
108 | 104 | ||
109 | struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, | 105 | struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, |
110 | xmit_to_drv_t xmit_to_drv, | 106 | xmit_to_drv_t xmit_to_drv, |
@@ -134,14 +130,12 @@ struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, | |||
134 | 130 | ||
135 | return llc; | 131 | return llc; |
136 | } | 132 | } |
137 | EXPORT_SYMBOL(nfc_llc_allocate); | ||
138 | 133 | ||
139 | void nfc_llc_free(struct nfc_llc *llc) | 134 | void nfc_llc_free(struct nfc_llc *llc) |
140 | { | 135 | { |
141 | llc->ops->deinit(llc); | 136 | llc->ops->deinit(llc); |
142 | kfree(llc); | 137 | kfree(llc); |
143 | } | 138 | } |
144 | EXPORT_SYMBOL(nfc_llc_free); | ||
145 | 139 | ||
146 | inline void nfc_llc_get_rx_head_tail_room(struct nfc_llc *llc, int *rx_headroom, | 140 | inline void nfc_llc_get_rx_head_tail_room(struct nfc_llc *llc, int *rx_headroom, |
147 | int *rx_tailroom) | 141 | int *rx_tailroom) |
@@ -149,34 +143,28 @@ inline void nfc_llc_get_rx_head_tail_room(struct nfc_llc *llc, int *rx_headroom, | |||
149 | *rx_headroom = llc->rx_headroom; | 143 | *rx_headroom = llc->rx_headroom; |
150 | *rx_tailroom = llc->rx_tailroom; | 144 | *rx_tailroom = llc->rx_tailroom; |
151 | } | 145 | } |
152 | EXPORT_SYMBOL(nfc_llc_get_rx_head_tail_room); | ||
153 | 146 | ||
154 | inline int nfc_llc_start(struct nfc_llc *llc) | 147 | inline int nfc_llc_start(struct nfc_llc *llc) |
155 | { | 148 | { |
156 | return llc->ops->start(llc); | 149 | return llc->ops->start(llc); |
157 | } | 150 | } |
158 | EXPORT_SYMBOL(nfc_llc_start); | ||
159 | 151 | ||
160 | inline int nfc_llc_stop(struct nfc_llc *llc) | 152 | inline int nfc_llc_stop(struct nfc_llc *llc) |
161 | { | 153 | { |
162 | return llc->ops->stop(llc); | 154 | return llc->ops->stop(llc); |
163 | } | 155 | } |
164 | EXPORT_SYMBOL(nfc_llc_stop); | ||
165 | 156 | ||
166 | inline void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) | 157 | inline void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) |
167 | { | 158 | { |
168 | llc->ops->rcv_from_drv(llc, skb); | 159 | llc->ops->rcv_from_drv(llc, skb); |
169 | } | 160 | } |
170 | EXPORT_SYMBOL(nfc_llc_rcv_from_drv); | ||
171 | 161 | ||
172 | inline int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) | 162 | inline int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) |
173 | { | 163 | { |
174 | return llc->ops->xmit_from_hci(llc, skb); | 164 | return llc->ops->xmit_from_hci(llc, skb); |
175 | } | 165 | } |
176 | EXPORT_SYMBOL(nfc_llc_xmit_from_hci); | ||
177 | 166 | ||
178 | inline void *nfc_llc_get_data(struct nfc_llc *llc) | 167 | inline void *nfc_llc_get_data(struct nfc_llc *llc) |
179 | { | 168 | { |
180 | return llc->data; | 169 | return llc->data; |
181 | } | 170 | } |
182 | EXPORT_SYMBOL(nfc_llc_get_data); | ||