dm: part: Drop the get_dev() method
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 17:36:21 +0000 (11:36 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
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@chromium.org>
include/part.h

index 47f5baf..bc9dc64 100644 (file)
@@ -12,7 +12,6 @@
 
 struct block_drvr {
        char *name;
-       struct blk_desc* (*get_dev)(int dev);
        int (*select_hwpart)(int dev_num, int hwpart);
 };