summaryrefslogtreecommitdiff
path: root/disk/part.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 11:36:14 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commit74001a2570ccbc120366e66dd40e8c66e3a6820c (patch)
treefccdc192fe292afe40c8f1daeca05d6e4fc479c4 /disk/part.c
parent57ebf67bad82da0b3ade1728fb39a64d1c29822f (diff)
downloadu-boot-74001a2570ccbc120366e66dd40e8c66e3a6820c.tar.gz
dm: ide: 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/part.c')
-rw-r--r--disk/part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c
index 1b33928cc5..bf224b2c52 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -23,7 +23,7 @@
const struct block_drvr block_drvr[] = {
#if defined(CONFIG_CMD_IDE)
- { .name = "ide", .get_dev = ide_get_dev, },
+ { .name = "ide", },
#endif
#if defined(CONFIG_CMD_SATA)
{.name = "sata", .get_dev = sata_get_dev, },