Bluetooth: AMP: Factor out amp_ctrl_add
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 5 Oct 2012 13:56:55 +0000 (16:56 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sun, 7 Oct 2012 22:19:04 +0000 (06:19 +0800)
commitfa4ebc66c432d0e0ec947cb754d4144c4a681f28
treece31c236f663a249276883413f19dba534569738
parent85e34368dea6fc8a2d16464e01c85d3b7bd682bd
Bluetooth: AMP: Factor out amp_ctrl_add

Add ctrl_id parameter to amp_ctrl_add since we always set it
after function ctrl is created.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/amp.h
net/bluetooth/a2mp.c
net/bluetooth/amp.c