[U-Boot] [PATCH v2 33/44] dm: part: Drop the get_dev() method

Simon Glass sjg at chromium.org
Sun May 1 19:36:21 CEST 2016


This is now handled by the legacy block driver. The get_dev() method is
no-longer used. Drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 include/part.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/part.h b/include/part.h
index 47f5baf..bc9dc64 100644
--- a/include/part.h
+++ b/include/part.h
@@ -12,7 +12,6 @@
 
 struct block_drvr {
 	char *name;
-	struct blk_desc* (*get_dev)(int dev);
 	int (*select_hwpart)(int dev_num, int hwpart);
 };
 
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list