diff options
author | Ulisses Furquim <ulisses@profusion.mobi> | 2011-12-20 22:32:09 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-20 23:21:08 -0500 |
commit | f1e91e1640d808d332498a6b09b2bcd01462eff9 (patch) | |
tree | 0532037e97621e971bd1301d4bfd5b02e992c60e /include/net | |
parent | f2d64f6aa6c681ca00a71c2b3304ed80dc317752 (diff) |
Bluetooth: Always compile SCO and L2CAP in Bluetooth Core
The handling of SCO audio links and the L2CAP protocol are essential to
any system with Bluetooth thus are always compiled in from now on.
Signed-off-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 980e59f37d4f..abaad6ed9b83 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h | |||
@@ -250,32 +250,10 @@ extern void bt_sysfs_cleanup(void); | |||
250 | 250 | ||
251 | extern struct dentry *bt_debugfs; | 251 | extern struct dentry *bt_debugfs; |
252 | 252 | ||
253 | #ifdef CONFIG_BT_L2CAP | ||
254 | int l2cap_init(void); | 253 | int l2cap_init(void); |
255 | void l2cap_exit(void); | 254 | void l2cap_exit(void); |
256 | #else | ||
257 | static inline int l2cap_init(void) | ||
258 | { | ||
259 | return 0; | ||
260 | } | ||
261 | |||
262 | static inline void l2cap_exit(void) | ||
263 | { | ||
264 | } | ||
265 | #endif | ||
266 | 255 | ||
267 | #ifdef CONFIG_BT_SCO | ||
268 | int sco_init(void); | 256 | int sco_init(void); |
269 | void sco_exit(void); | 257 | void sco_exit(void); |
270 | #else | ||
271 | static inline int sco_init(void) | ||
272 | { | ||
273 | return 0; | ||
274 | } | ||
275 | |||
276 | static inline void sco_exit(void) | ||
277 | { | ||
278 | } | ||
279 | #endif | ||
280 | 258 | ||
281 | #endif /* __BLUETOOTH_H */ | 259 | #endif /* __BLUETOOTH_H */ |