diff options
Diffstat (limited to 'net/nfc/nfc.h')
-rw-r--r-- | net/nfc/nfc.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/net/nfc/nfc.h b/net/nfc/nfc.h index 94bfe19ba678..afa1f84ba040 100644 --- a/net/nfc/nfc.h +++ b/net/nfc/nfc.h | |||
@@ -48,8 +48,6 @@ struct nfc_rawsock { | |||
48 | 48 | ||
49 | struct nfc_llcp_sdp_tlv; | 49 | struct nfc_llcp_sdp_tlv; |
50 | 50 | ||
51 | #ifdef CONFIG_NFC_LLCP | ||
52 | |||
53 | void nfc_llcp_mac_is_down(struct nfc_dev *dev); | 51 | void nfc_llcp_mac_is_down(struct nfc_dev *dev); |
54 | void nfc_llcp_mac_is_up(struct nfc_dev *dev, u32 target_idx, | 52 | void nfc_llcp_mac_is_up(struct nfc_dev *dev, u32 target_idx, |
55 | u8 comm_mode, u8 rf_mode); | 53 | u8 comm_mode, u8 rf_mode); |
@@ -64,68 +62,6 @@ void nfc_llcp_exit(void); | |||
64 | void nfc_llcp_free_sdp_tlv(struct nfc_llcp_sdp_tlv *sdp); | 62 | void nfc_llcp_free_sdp_tlv(struct nfc_llcp_sdp_tlv *sdp); |
65 | void nfc_llcp_free_sdp_tlv_list(struct hlist_head *head); | 63 | void nfc_llcp_free_sdp_tlv_list(struct hlist_head *head); |
66 | 64 | ||
67 | #else | ||
68 | |||
69 | static inline void nfc_llcp_mac_is_down(struct nfc_dev *dev) | ||
70 | { | ||
71 | } | ||
72 | |||
73 | static inline void nfc_llcp_mac_is_up(struct nfc_dev *dev, u32 target_idx, | ||
74 | u8 comm_mode, u8 rf_mode) | ||
75 | { | ||
76 | } | ||
77 | |||
78 | static inline int nfc_llcp_register_device(struct nfc_dev *dev) | ||
79 | { | ||
80 | return 0; | ||
81 | } | ||
82 | |||
83 | static inline void nfc_llcp_unregister_device(struct nfc_dev *dev) | ||
84 | { | ||
85 | } | ||
86 | |||
87 | static inline int nfc_llcp_set_remote_gb(struct nfc_dev *dev, | ||
88 | u8 *gb, u8 gb_len) | ||
89 | { | ||
90 | return 0; | ||
91 | } | ||
92 | |||
93 | static inline u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, size_t *gb_len) | ||
94 | { | ||
95 | *gb_len = 0; | ||
96 | return NULL; | ||
97 | } | ||
98 | |||
99 | static inline int nfc_llcp_data_received(struct nfc_dev *dev, | ||
100 | struct sk_buff *skb) | ||
101 | { | ||
102 | return 0; | ||
103 | } | ||
104 | |||
105 | static inline struct nfc_llcp_local *nfc_llcp_find_local(struct nfc_dev *dev) | ||
106 | { | ||
107 | return NULL; | ||
108 | } | ||
109 | |||
110 | static inline int nfc_llcp_init(void) | ||
111 | { | ||
112 | return 0; | ||
113 | } | ||
114 | |||
115 | static inline void nfc_llcp_exit(void) | ||
116 | { | ||
117 | } | ||
118 | |||
119 | static inline void nfc_llcp_free_sdp_tlv(struct nfc_llcp_sdp_tlv *sdp) | ||
120 | { | ||
121 | } | ||
122 | |||
123 | static inline void nfc_llcp_free_sdp_tlv_list(struct hlist_head *sdp_head) | ||
124 | { | ||
125 | } | ||
126 | |||
127 | #endif | ||
128 | |||
129 | int __init rawsock_init(void); | 65 | int __init rawsock_init(void); |
130 | void rawsock_exit(void); | 66 | void rawsock_exit(void); |
131 | 67 | ||