cmd: usbdown: fix build error without CONFIG_SET_DFU_ALT_INFO 98/142298/4
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 3 Aug 2017 09:38:13 +0000 (18:38 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 7 Aug 2017 02:10:27 +0000 (02:10 +0000)
commitabcef28fbad4370557538c362f453cc0bbea5afd
tree712e8b17d2812cf0870fc7dd7362b053e39b606d
parentb938f2d5f94d5ffb1cff4653be052883abbdddb3
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