static int cfg80211_netdev_notifier_call(struct notifier_block * nb,
unsigned long state,
+--- a/net/bluetooth/bnep/core.c 2009-12-10 09:22:58.000000000 -0800
++++ b/net/bluetooth/bnep/core.c 2009-12-10 09:22:59.000000000 -0800
+@@ -536,9 +536,11 @@ static struct device *bnep_get_device(st
+ return conn ? &conn->dev : NULL;
+ }
+
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
+ static struct device_type bnep_type = {
+ .name = "bluetooth",
+ };
++#endif
+
+ int bnep_add_connection(struct bnep_connadd_req *req, struct socket *sock)
+ {
if (amount < 0)
amount = 0;
err = put_user(amount, (int __user *) arg);
---- a/net/bluetooth/bnep/core.c 2009-12-10 09:22:58.000000000 -0800
-+++ b/net/bluetooth/bnep/core.c 2009-12-10 09:22:59.000000000 -0800
-@@ -536,9 +536,11 @@ static struct device *bnep_get_device(st
- return conn ? &conn->dev : NULL;
- }
-
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
- static struct device_type bnep_type = {
- .name = "bluetooth",
- };
-+#endif
-
- int bnep_add_connection(struct bnep_connadd_req *req, struct socket *sock)
- {
diff -Nur a/net/bluetooth/cmtp/capi.c b/net/bluetooth/cmtp/capi.c
--- a/net/bluetooth/cmtp/capi.c 2009-11-25 11:24:43.000000000 +0530
+++ b/net/bluetooth/cmtp/capi.c 2009-11-26 16:43:42.000000000 +0530