1
0
Fork 0

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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
utp
Simon Glass 2016-01-20 20:12:07 -07:00 committed by Tom Rini
parent e92029c0f4
commit f62b1c625d
1 changed files with 0 additions and 2 deletions

View File

@ -10,8 +10,6 @@
#include <ide.h>
#include <common.h>
typedef struct block_dev_desc block_dev_desc_t;
struct block_dev_desc {
int if_type; /* type of the interface */
int dev; /* device number */