summaryrefslogtreecommitdiffstats
path: root/disk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 11:36:13 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commit57ebf67bad82da0b3ade1728fb39a64d1c29822f (patch)
treed1d11a85ed37eec6e51d4afaf3c65cf3012c2a83 /disk
parenta6331fa83cb4a1557df4acfa4214d556f4596904 (diff)
downloadblackbird-obmc-uboot-57ebf67bad82da0b3ade1728fb39a64d1c29822f.tar.gz
blackbird-obmc-uboot-57ebf67bad82da0b3ade1728fb39a64d1c29822f.zip
dm: usb: Drop the get_dev() function
This function is implemented by the legacy block functions now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk')
-rw-r--r--disk/part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c
index f055c74aa8..1b33928cc5 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -32,7 +32,7 @@ const struct block_drvr block_drvr[] = {
{ .name = "scsi", .get_dev = scsi_get_dev, },
#endif
#if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
- { .name = "usb", .get_dev = usb_stor_get_dev, },
+ { .name = "usb", },
#endif
#if defined(CONFIG_MMC)
{
OpenPOWER on IntegriCloud