usb: gadget: allow to actually enable sparse fastboot support
When sparse support was (intended to be) made optional it was
effectively unconditionally disabled because

	IS_ENABLED(USB_GADGET_FASTBOOT_SPARSE)

always evaluates to 0. To actually make use of the introduced kconfig
symbol the CONFIG_ prefix must not be skipped.

Fixes: f4b5d3eeb607 ("usb: gadget: fastboot: Make sparse support optional")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Gavin Schenk <g.schenk@eckelmann.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6d1b29b commit 383ba5137a2ea4c2c9d5230bd51384aec187166d
@Uwe Kleine-König Uwe Kleine-König authored on 7 Aug 2018
Sascha Hauer committed on 8 Aug 2018
Showing 1 changed file
View
drivers/usb/gadget/f_fastboot.c