diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 11:36:17 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | 4e7189d4d8c2ab46c4c580ae300c14d1a9c20b11 (patch) | |
tree | f7e296c0b27dd04d2eebced48139b4ccabf6c565 /disk | |
parent | edd82ab3547e27b4c1ab1ee7e620f982db9126ad (diff) | |
download | u-boot-4e7189d4d8c2ab46c4c580ae300c14d1a9c20b11.tar.gz u-boot-4e7189d4d8c2ab46c4c580ae300c14d1a9c20b11.tar.bz2 u-boot-4e7189d4d8c2ab46c4c580ae300c14d1a9c20b11.zip |
dm: sata: Drop the get_dev() function
This function is implemented by the legacy block functions now. Drop it.
We cannot yet make sata_dev_desc[] private to common/sata.c as it is used by
the SATA drivers. This will require the SATA interface to be reworked.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk')
-rw-r--r-- | disk/part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c index 67cb6c0c0b..4fc774bb97 100644 --- a/disk/part.c +++ b/disk/part.c @@ -26,7 +26,7 @@ const struct block_drvr block_drvr[] = { { .name = "ide", }, #endif #if defined(CONFIG_CMD_SATA) - {.name = "sata", .get_dev = sata_get_dev, }, + {.name = "sata", }, #endif #if defined(CONFIG_SCSI) { .name = "scsi", }, |