summaryrefslogtreecommitdiffstats
path: root/common/usb_storage.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 11:36:28 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commit52138fd4072b64448855eac4c2c9815b46f5b43c (patch)
treefd5dead396df725150d71861e69d656d22e73dd9 /common/usb_storage.c
parent199a1201ab901413a80c64a9eee72f82977ba8d3 (diff)
downloadtalos-obmc-uboot-52138fd4072b64448855eac4c2c9815b46f5b43c.tar.gz
talos-obmc-uboot-52138fd4072b64448855eac4c2c9815b46f5b43c.zip
dm: blk: Allow blk_create_device() to allocate the device number
Allow a devnum parameter of -1 to indicate that the device number should be alocated automatically. The next highest available device number for that interface type is used. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/usb_storage.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud