From: Simon Glass <sjg@chromium.org>
Date: Sun, 1 May 2016 17:36:21 +0000 (-0600)
Subject: dm: part: Drop the get_dev() method
X-Git-Tag: v2025.01-rc5-pxa1908~9458^2~34
X-Git-Url: http://git.dujemihanovic.xyz/%22/icons/right.gif/static/git-logo.png?a=commitdiff_plain;h=38bd29beaaf51f92d986ef63e5539f0bd0d371d8;p=u-boot.git

dm: part: Drop the get_dev() method

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>
---

diff --git a/include/part.h b/include/part.h
index 47f5bafd63..bc9dc64912 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);
 };