From: Simon Glass Date: Thu, 21 Jan 2016 03:12:07 +0000 (-0700) Subject: part: Drop duplication declaration of block_dev_desc_t X-Git-Tag: v2016.03-rc1~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f62b1c625d631a59c6b99ff9d6ca8c8bda282de5;p=platform%2Fkernel%2Fu-boot.git 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 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 */