diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-02-26 00:51:41 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-26 18:14:17 +0100 |
commit | ccef7ab534347e2e1e1ef398d2ec987d37e519f3 (patch) | |
tree | 1f74e2abb5ad84725e3eb52ac3320ffda480f281 /include/mtd/inftl-user.h | |
parent | 9adfbfb611307060db54691bc7e6d53fdc12312b (diff) | |
download | kernel_samsung_crespo-ccef7ab534347e2e1e1ef398d2ec987d37e519f3.zip kernel_samsung_crespo-ccef7ab534347e2e1e1ef398d2ec987d37e519f3.tar.gz kernel_samsung_crespo-ccef7ab534347e2e1e1ef398d2ec987d37e519f3.tar.bz2 |
make MTD headers use strict integer types
The MTD headers traditionally use stdint types rather than
the kernel integer types. This converts them to do the
same as all the others.
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/mtd/inftl-user.h')
-rw-r--r-- | include/mtd/inftl-user.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/include/mtd/inftl-user.h b/include/mtd/inftl-user.h index d409d48..8376bd1 100644 --- a/include/mtd/inftl-user.h +++ b/include/mtd/inftl-user.h @@ -16,33 +16,33 @@ /* Block Control Information */ struct inftl_bci { - uint8_t ECCsig[6]; - uint8_t Status; - uint8_t Status1; + __u8 ECCsig[6]; + __u8 Status; + __u8 Status1; } __attribute__((packed)); struct inftl_unithead1 { - uint16_t virtualUnitNo; - uint16_t prevUnitNo; - uint8_t ANAC; - uint8_t NACs; - uint8_t parityPerField; - uint8_t discarded; + __u16 virtualUnitNo; + __u16 prevUnitNo; + __u8 ANAC; + __u8 NACs; + __u8 parityPerField; + __u8 discarded; } __attribute__((packed)); struct inftl_unithead2 { - uint8_t parityPerField; - uint8_t ANAC; - uint16_t prevUnitNo; - uint16_t virtualUnitNo; - uint8_t NACs; - uint8_t discarded; + __u8 parityPerField; + __u8 ANAC; + __u16 prevUnitNo; + __u16 virtualUnitNo; + __u8 NACs; + __u8 discarded; } __attribute__((packed)); struct inftl_unittail { - uint8_t Reserved[4]; - uint16_t EraseMark; - uint16_t EraseMark1; + __u8 Reserved[4]; + __u16 EraseMark; + __u16 EraseMark1; } __attribute__((packed)); union inftl_uci { |