diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2013-03-31 23:12:42 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2013-03-31 23:12:42 +0200 |
commit | cf2b28bd1642305515171f6d70b9f033c4e064e5 (patch) | |
tree | c8dd3ece975ea57d009ff08be3cb9d63bf46f6a5 /patches/collateral-evolutions/network/14-device-type/net_bluetooth_bnep_core.patch | |
parent | 445920189178de0b338fc5fa6f3d52035f58c778 (diff) |
rename patch files to .patch
They can be named after the C files they apply to,
but they should still be named .patch.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'patches/collateral-evolutions/network/14-device-type/net_bluetooth_bnep_core.patch')
-rw-r--r-- | patches/collateral-evolutions/network/14-device-type/net_bluetooth_bnep_core.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/14-device-type/net_bluetooth_bnep_core.patch b/patches/collateral-evolutions/network/14-device-type/net_bluetooth_bnep_core.patch new file mode 100644 index 00000000..d8954e42 --- /dev/null +++ b/patches/collateral-evolutions/network/14-device-type/net_bluetooth_bnep_core.patch @@ -0,0 +1,14 @@ +--- a/net/bluetooth/bnep/core.c ++++ b/net/bluetooth/bnep/core.c +@@ -526,9 +526,11 @@ + 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) + { |