MAINLINE usb: dfu: add static alt num count in dfu_config_entities()
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Fri, 7 Feb 2014 11:00:48 +0000 (12:00 +0100)
committerLukasz Majewski <l.majewski@samsung.com>
Tue, 18 Mar 2014 15:48:59 +0000 (16:48 +0100)
commita32e5eae48fef1b3bd8621529dfec9f0d5820639
treedfab84595888f4e4b2c04da82d727beeee1c353e
parente1a1ae098a6d98601aa7e757b2dbb1318a391a74
MAINLINE usb: dfu: add static alt num count in dfu_config_entities()

Thanks to this multiple call of function dfu_config_entities() give continuous
dfu alt numbering until call dfu_free_entities().

This allows to store dfu entities in multiple variables.

Change-Id: Ibca7e785bfca9f53b64d3dff0490185b06841b54
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
drivers/dfu/dfu.c