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 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 #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 v0.10.2