summaryrefslogtreecommitdiff
path: root/include/part.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-20 20:12:07 -0700
committerTom Rini <trini@konsulko.com>2016-01-25 10:39:46 -0500
commitf62b1c625d631a59c6b99ff9d6ca8c8bda282de5 (patch)
treed59a85c1ca147be9b4a82642695db685ef3bfcba /include/part.h
parente92029c0f4e88ae3e738d83b25ef2d3c178ea082 (diff)
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>
Diffstat (limited to 'include/part.h')
-rw-r--r--include/part.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/part.h b/include/part.h
index 4d00e220e4..dc23949ae8 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 */