summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 11:36:16 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commitedd82ab3547e27b4c1ab1ee7e620f982db9126ad (patch)
tree11971a5c4599e85063b6bf1d46528d78491e6318 /disk
parent3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f (diff)
downloadu-boot-imx-edd82ab3547e27b4c1ab1ee7e620f982db9126ad.zip
u-boot-imx-edd82ab3547e27b4c1ab1ee7e620f982db9126ad.tar.gz
u-boot-imx-edd82ab3547e27b4c1ab1ee7e620f982db9126ad.tar.bz2
dm: scsi: 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 e70bef5..67cb6c0 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -29,7 +29,7 @@ const struct block_drvr block_drvr[] = {
{.name = "sata", .get_dev = sata_get_dev, },
#endif
#if defined(CONFIG_SCSI)
- { .name = "scsi", .get_dev = scsi_get_dev, },
+ { .name = "scsi", },
#endif
#if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
{ .name = "usb", },