dfu:core: Export dfu_{get|free}_buf functions
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 8 Oct 2013 12:30:39 +0000 (14:30 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 20 Oct 2013 21:42:40 +0000 (23:42 +0200)
commitd42782631d59ea12251629bb827f725ef4dfddf6
treebc85a437493ded268745a43842f7208a8d73521e
parentfed936ed8004dd4972777aa29d882b7e88c6da7b
dfu:core: Export dfu_{get|free}_buf functions

Define the dfu_get_buf() and dfu_free_buf() as global functions.
They are necessary for zero copy buffer management, when DFU backend is
used for storing data.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/dfu/dfu.c
include/dfu.h