diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-20 20:12:07 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-25 10:39:46 -0500 |
commit | f62b1c625d631a59c6b99ff9d6ca8c8bda282de5 (patch) | |
tree | d59a85c1ca147be9b4a82642695db685ef3bfcba /include | |
parent | e92029c0f4e88ae3e738d83b25ef2d3c178ea082 (diff) | |
download | u-boot-imx-f62b1c625d631a59c6b99ff9d6ca8c8bda282de5.zip u-boot-imx-f62b1c625d631a59c6b99ff9d6ca8c8bda282de5.tar.gz u-boot-imx-f62b1c625d631a59c6b99ff9d6ca8c8bda282de5.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/part.h | 2 |
1 files changed, 0 insertions, 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 <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 */ |