usb: gadget: fastboot: pass message type as enum
We used to pass the message type ("INFO", "FAIL", "OKAY") as strings
to fastboot_tx_print(). Change this to a enum type. This allows
fastboot_tx_print() to react on the message type in the next step.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0b5361a commit e1552e24d0bb4dfdc29e9d1238a6d87c68638ea3
@Sascha Hauer Sascha Hauer authored on 7 Dec 2018
Showing 2 changed files
View
drivers/usb/gadget/f_fastboot.c
View
include/usb/fastboot.h