diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-02-25 18:51:41 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-26 13:14:17 -0400 |
commit | ccef7ab534347e2e1e1ef398d2ec987d37e519f3 (patch) | |
tree | 1f74e2abb5ad84725e3eb52ac3320ffda480f281 /include/mtd/inftl-user.h | |
parent | 9adfbfb611307060db54691bc7e6d53fdc12312b (diff) |
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 d409d489d900..8376bd1a9e01 100644 --- a/include/mtd/inftl-user.h +++ b/include/mtd/inftl-user.h | |||
@@ -16,33 +16,33 @@ | |||
16 | /* Block Control Information */ | 16 | /* Block Control Information */ |
17 | 17 | ||
18 | struct inftl_bci { | 18 | struct inftl_bci { |
19 | uint8_t ECCsig[6]; | 19 | __u8 ECCsig[6]; |
20 | uint8_t Status; | 20 | __u8 Status; |
21 | uint8_t Status1; | 21 | __u8 Status1; |
22 | } __attribute__((packed)); | 22 | } __attribute__((packed)); |
23 | 23 | ||
24 | struct inftl_unithead1 { | 24 | struct inftl_unithead1 { |
25 | uint16_t virtualUnitNo; | 25 | __u16 virtualUnitNo; |
26 | uint16_t prevUnitNo; | 26 | __u16 prevUnitNo; |
27 | uint8_t ANAC; | 27 | __u8 ANAC; |
28 | uint8_t NACs; | 28 | __u8 NACs; |
29 | uint8_t parityPerField; | 29 | __u8 parityPerField; |
30 | uint8_t discarded; | 30 | __u8 discarded; |
31 | } __attribute__((packed)); | 31 | } __attribute__((packed)); |
32 | 32 | ||
33 | struct inftl_unithead2 { | 33 | struct inftl_unithead2 { |
34 | uint8_t parityPerField; | 34 | __u8 parityPerField; |
35 | uint8_t ANAC; | 35 | __u8 ANAC; |
36 | uint16_t prevUnitNo; | 36 | __u16 prevUnitNo; |
37 | uint16_t virtualUnitNo; | 37 | __u16 virtualUnitNo; |
38 | uint8_t NACs; | 38 | __u8 NACs; |
39 | uint8_t discarded; | 39 | __u8 discarded; |
40 | } __attribute__((packed)); | 40 | } __attribute__((packed)); |
41 | 41 | ||
42 | struct inftl_unittail { | 42 | struct inftl_unittail { |
43 | uint8_t Reserved[4]; | 43 | __u8 Reserved[4]; |
44 | uint16_t EraseMark; | 44 | __u16 EraseMark; |
45 | uint16_t EraseMark1; | 45 | __u16 EraseMark1; |
46 | } __attribute__((packed)); | 46 | } __attribute__((packed)); |
47 | 47 | ||
48 | union inftl_uci { | 48 | union inftl_uci { |