From f62b1c625d631a59c6b99ff9d6ca8c8bda282de5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 20 Jan 2016 20:12:07 -0700 Subject: part: Drop duplication declaration of block_dev_desc_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Bin Meng Reviewed-by: Andreas Bießmann --- include/part.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/part.h') 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 #include -typedef struct block_dev_desc block_dev_desc_t; - struct block_dev_desc { int if_type; /* type of the interface */ int dev; /* device number */ -- cgit v1.2.3