cmd: usbdown: fix build error without CONFIG_SET_DFU_ALT_INFO
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 3 Aug 2017 09:38:13 +0000 (18:38 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 10 Oct 2019 04:38:39 +0000 (13:38 +0900)
commit07af81beaa81a0c9b1a3764cb2f7227dd5fcfa78
tree7c751f045c85533f1bb1b5af03f36d40658f5085
parentdf73a8e5761613b07a53eb3913bc3779d3d255eb
cmd: usbdown: fix build error without CONFIG_SET_DFU_ALT_INFO

If CONFIG_SET_DFU_ALT_INFO is not set, there is build error. Fix
the build error with moving dfu related variables and macros to
inside of the config defined area.

Change-Id: Ife977d8cc4da8e3d84a53c8e9cb27280e80d1464
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
cmd/usbdown.c