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: KARO-TXSD-2017-03-15~2055 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f62b1c625d631a59c6b99ff9d6ca8c8bda282de5;p=karo-tx-uboot.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 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 */