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>
This commit is contained in:
Simon Glass
2016-05-01 11:36:17 -06:00
parent edd82ab354
commit 4e7189d4d8
2 changed files with 1 additions and 3 deletions

View File

@@ -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", },