summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-21 03:12:07 (GMT)
committerTom Rini <trini@konsulko.com>2016-01-25 15:39:46 (GMT)
commitf62b1c625d631a59c6b99ff9d6ca8c8bda282de5 (patch)
treed59a85c1ca147be9b4a82642695db685ef3bfcba
parente92029c0f4e88ae3e738d83b25ef2d3c178ea082 (diff)
downloadu-boot-f62b1c625d631a59c6b99ff9d6ca8c8bda282de5.tar.xz
part: Drop duplication declaration of block_dev_desc_t
This is already defined in ide.h, which part.h includes. So we don't need the duplicate typedef. At least with my old blackfin gcc 4.3.5 tool chain, this causes an error. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
-rw-r--r--include/part.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/part.h b/include/part.h
index 4d00e22..dc23949 100644
--- a/include/part.h
+++ b/include/part.h
@@ -10,8 +10,6 @@
#include <ide.h>
#include <common.h>
-typedef struct block_dev_desc block_dev_desc_t;
-
struct block_dev_desc {
int if_type; /* type of the interface */
int dev; /* device number */