From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andreas_Bie=c3=9fmann?= Date: Sun, 24 Jan 2016 23:40:27 +0100 Subject: [U-Boot] [PATCH] part: Drop duplication declaration of block_dev_desc_t In-Reply-To: <1453345927-18392-1-git-send-email-sjg@chromium.org> References: <1453345927-18392-1-git-send-email-sjg@chromium.org> Message-ID: <56A552DB.7020809@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 21.01.16 04:12, Simon Glass wrote: > 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: Andreas Bie?mann This fixes buildman breakage for avr32 > --- > > include/part.h | 2 -- > 1 file changed, 2 deletions(-) > > 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 */ >