From 6ba1ed306dbb1a61580441ca87eb2a42b034a9b0 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Mon, 1 Apr 2013 00:40:42 +0200 Subject: add BACKPORT_BT_SOCK_CREATE_NEEDS_KERN config symbol Also need to rename it in the patch. Signed-off-by: Johannes Berg --- .../network/16-bluetooth/net_bluetooth_af_bluetooth.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_af_bluetooth.patch') diff --git a/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_af_bluetooth.patch b/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_af_bluetooth.patch index e4823d52..8af75fff 100644 --- a/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_af_bluetooth.patch +++ b/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_af_bluetooth.patch @@ -4,7 +4,7 @@ } EXPORT_SYMBOL(bt_sock_unregister); -+#if defined(CONFIG_COMPAT_BT_SOCK_CREATE_NEEDS_KERN) ++#if defined(CPTCFG_BACKPORT_BT_SOCK_CREATE_NEEDS_KERN) static int bt_sock_create(struct net *net, struct socket *sock, int proto, int kern) +#else @@ -17,7 +17,7 @@ read_lock(&bt_proto_lock); if (bt_proto[proto] && try_module_get(bt_proto[proto]->owner)) { -+#if defined(CONFIG_COMPAT_BT_SOCK_CREATE_NEEDS_KERN) ++#if defined(CPTCFG_BACKPORT_BT_SOCK_CREATE_NEEDS_KERN) err = bt_proto[proto]->create(net, sock, proto, kern); +#else + err = bt_proto[proto]->create(net, sock, proto); -- cgit v1.2.3