efi-block: detect when the block device is a USB Disk
use usbdisk as a basename

This will be usefull as example when we want to search for a usb disk for
failsafe update or install.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c6dc961 commit 1bf16188c5922854f384317b7585bc8cd91593b5
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD authored on 27 Oct 2017
Sascha Hauer committed on 27 Oct 2017
Showing 1 changed file
View
drivers/block/efi-block-io.c