X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fbluetooth%2Faf_bluetooth.c;h=e0fa1b0d0cd344d7d69ab5da7bd2dcd4881fdf7d;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=e111cf3c31e3af7a32adb021799214e9052ab40f;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c index e111cf3c3..e0fa1b0d0 100644 --- a/net/bluetooth/af_bluetooth.c +++ b/net/bluetooth/af_bluetooth.c @@ -51,13 +51,13 @@ #define BT_DBG(D...) #endif -#define VERSION "2.5" +#define VERSION "2.6" struct proc_dir_entry *proc_bt; EXPORT_SYMBOL(proc_bt); /* Bluetooth sockets */ -#define BT_MAX_PROTO 7 +#define BT_MAX_PROTO 8 static struct net_proto_family *bt_proto[BT_MAX_PROTO]; static kmem_cache_t *bt_sock_cache; @@ -354,7 +354,7 @@ static int __init bt_init(void) /* Init socket cache */ bt_sock_cache = kmem_cache_create("bt_sock", sizeof(struct bt_sock), 0, - SLAB_HWCACHE_ALIGN, 0, 0); + SLAB_HWCACHE_ALIGN, NULL, NULL); if (!bt_sock_cache) { BT_ERR("Socket cache creation failed");