summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-06-23 12:58:55 +1000
committerJohn W. Linville <linville@tuxdriver.com>2011-06-24 15:08:48 -0400
commitf70490e6078abe1182437e629f67a7f0b6f08cd4 (patch)
tree339b8f247ed5a0e0cd2f63d1843507be5809e9fc /net
parentcd15598707aff52da4302d9b6a3fc878bca27383 (diff)
downloadblackbird-op-linux-f70490e6078abe1182437e629f67a7f0b6f08cd4.tar.gz
blackbird-op-linux-f70490e6078abe1182437e629f67a7f0b6f08cd4.zip
Bluetooth: include scatterlist.h where needed
net/bluetooth/smp.c: In function 'smp_e': net/bluetooth/smp.c:49:21: error: storage size of 'sg' isn't known net/bluetooth/smp.c:67:2: error: implicit declaration of function 'sg_init_one' net/bluetooth/smp.c:49:21: warning: unused variable 'sg' Caused by commit d22ef0bc83c5 ("Bluetooth: Add LE SMP Cryptoolbox functions"). Missing include file, presumably. This batch has been in the bluetooth tree since June 14, so it may have been exposed by the removal of linux/mm.h from netdevice.h ... Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c
index 52e9ec2644c1..a36f8707d964 100644
--- a/net/bluetooth/smp.c
+++ b/net/bluetooth/smp.c
@@ -25,6 +25,7 @@
#include <net/bluetooth/l2cap.h>
#include <net/bluetooth/smp.h>
#include <linux/crypto.h>
+#include <linux/scatterlist.h>
#include <crypto/b128ops.h>
#define SMP_TIMEOUT 30000 /* 30 seconds */
OpenPOWER on IntegriCloud