Commit f4f20d06 authored by Samuel Ortiz's avatar Samuel Ortiz

NFC: Remove unneeded LLC symbols export

After fixing the LLC Makefile, we no longer need those exports.
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 412fda53
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include <linux/export.h>
#include <net/nfc/llc.h> #include <net/nfc/llc.h>
#include "llc.h" #include "llc.h"
static struct list_head llc_engines; static struct list_head llc_engines;
...@@ -44,7 +44,6 @@ int nfc_llc_init(void) ...@@ -44,7 +44,6 @@ int nfc_llc_init(void)
nfc_llc_exit(); nfc_llc_exit();
return r; return r;
} }
EXPORT_SYMBOL(nfc_llc_init);
void nfc_llc_exit(void) void nfc_llc_exit(void)
{ {
...@@ -56,7 +55,6 @@ void nfc_llc_exit(void) ...@@ -56,7 +55,6 @@ void nfc_llc_exit(void)
kfree(llc_engine); kfree(llc_engine);
} }
} }
EXPORT_SYMBOL(nfc_llc_exit);
int nfc_llc_register(const char *name, struct nfc_llc_ops *ops) int nfc_llc_register(const char *name, struct nfc_llc_ops *ops)
{ {
...@@ -78,7 +76,6 @@ int nfc_llc_register(const char *name, struct nfc_llc_ops *ops) ...@@ -78,7 +76,6 @@ int nfc_llc_register(const char *name, struct nfc_llc_ops *ops)
return 0; return 0;
} }
EXPORT_SYMBOL(nfc_llc_register);
static struct nfc_llc_engine *nfc_llc_name_to_engine(const char *name) static struct nfc_llc_engine *nfc_llc_name_to_engine(const char *name)
{ {
...@@ -104,7 +101,6 @@ void nfc_llc_unregister(const char *name) ...@@ -104,7 +101,6 @@ void nfc_llc_unregister(const char *name)
kfree(llc_engine->name); kfree(llc_engine->name);
kfree(llc_engine); kfree(llc_engine);
} }
EXPORT_SYMBOL(nfc_llc_unregister);
struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev,
xmit_to_drv_t xmit_to_drv, 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,14 +130,12 @@ struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev,
return llc; return llc;
} }
EXPORT_SYMBOL(nfc_llc_allocate);
void nfc_llc_free(struct nfc_llc *llc) void nfc_llc_free(struct nfc_llc *llc)
{ {
llc->ops->deinit(llc); llc->ops->deinit(llc);
kfree(llc); kfree(llc);
} }
EXPORT_SYMBOL(nfc_llc_free);
inline void nfc_llc_get_rx_head_tail_room(struct nfc_llc *llc, int *rx_headroom, inline void nfc_llc_get_rx_head_tail_room(struct nfc_llc *llc, int *rx_headroom,
int *rx_tailroom) int *rx_tailroom)
...@@ -149,34 +143,28 @@ inline void nfc_llc_get_rx_head_tail_room(struct nfc_llc *llc, int *rx_headroom, ...@@ -149,34 +143,28 @@ inline void nfc_llc_get_rx_head_tail_room(struct nfc_llc *llc, int *rx_headroom,
*rx_headroom = llc->rx_headroom; *rx_headroom = llc->rx_headroom;
*rx_tailroom = llc->rx_tailroom; *rx_tailroom = llc->rx_tailroom;
} }
EXPORT_SYMBOL(nfc_llc_get_rx_head_tail_room);
inline int nfc_llc_start(struct nfc_llc *llc) inline int nfc_llc_start(struct nfc_llc *llc)
{ {
return llc->ops->start(llc); return llc->ops->start(llc);
} }
EXPORT_SYMBOL(nfc_llc_start);
inline int nfc_llc_stop(struct nfc_llc *llc) inline int nfc_llc_stop(struct nfc_llc *llc)
{ {
return llc->ops->stop(llc); return llc->ops->stop(llc);
} }
EXPORT_SYMBOL(nfc_llc_stop);
inline void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) inline void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb)
{ {
llc->ops->rcv_from_drv(llc, skb); llc->ops->rcv_from_drv(llc, skb);
} }
EXPORT_SYMBOL(nfc_llc_rcv_from_drv);
inline int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) inline int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb)
{ {
return llc->ops->xmit_from_hci(llc, skb); return llc->ops->xmit_from_hci(llc, skb);
} }
EXPORT_SYMBOL(nfc_llc_xmit_from_hci);
inline void *nfc_llc_get_data(struct nfc_llc *llc) inline void *nfc_llc_get_data(struct nfc_llc *llc)
{ {
return llc->data; return llc->data;
} }
EXPORT_SYMBOL(nfc_llc_get_data);
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
*/ */
#include <linux/types.h> #include <linux/types.h>
#include <linux/export.h>
#include "llc.h" #include "llc.h"
...@@ -98,4 +97,3 @@ int nfc_llc_nop_register() ...@@ -98,4 +97,3 @@ int nfc_llc_nop_register()
{ {
return nfc_llc_register(LLC_NOP_NAME, &llc_nop_ops); return nfc_llc_register(LLC_NOP_NAME, &llc_nop_ops);
} }
EXPORT_SYMBOL(nfc_llc_nop_register);
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/export.h>
#include <linux/wait.h> #include <linux/wait.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
...@@ -831,4 +830,3 @@ int nfc_llc_shdlc_register() ...@@ -831,4 +830,3 @@ int nfc_llc_shdlc_register()
{ {
return nfc_llc_register(LLC_SHDLC_NAME, &llc_shdlc_ops); return nfc_llc_register(LLC_SHDLC_NAME, &llc_shdlc_ops);
} }
EXPORT_SYMBOL(nfc_llc_shdlc_register);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment