diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-16 00:45:15 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-30 03:00:22 -0400 |
commit | cd57c77772b699b1e69d69510ce01109c46a6f0b (patch) | |
tree | c34330e22d3cd0b0f9f896e42d34246ddb191504 /arch/arm/plat-mxc | |
parent | 253ff1fa6f8d24d46ef1b5aa68f6293b883f03d8 (diff) |
MTD: mxc_nand: make bit fields unsigned to please sparse
This fixes:
arch/arm/plat-mxc/include/mach/mxc_nand.h:25:14: error: dubious one-bit signed bitfield
arch/arm/plat-mxc/include/mach/mxc_nand.h:26:17: error: dubious one-bit signed bitfield
While at it make width unsigned, too.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mxc_nand.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc_nand.h b/arch/arm/plat-mxc/include/mach/mxc_nand.h index 5d2d21d414e0..28988c7365f5 100644 --- a/arch/arm/plat-mxc/include/mach/mxc_nand.h +++ b/arch/arm/plat-mxc/include/mach/mxc_nand.h | |||
@@ -21,8 +21,8 @@ | |||
21 | #define __ASM_ARCH_NAND_H | 21 | #define __ASM_ARCH_NAND_H |
22 | 22 | ||
23 | struct mxc_nand_platform_data { | 23 | struct mxc_nand_platform_data { |
24 | int width; /* data bus width in bytes */ | 24 | unsigned int width; /* data bus width in bytes */ |
25 | int hw_ecc:1; /* 0 if supress hardware ECC */ | 25 | unsigned int hw_ecc:1; /* 0 if supress hardware ECC */ |
26 | int flash_bbt:1; /* set to 1 to use a flash based bbt */ | 26 | unsigned int flash_bbt:1; /* set to 1 to use a flash based bbt */ |
27 | }; | 27 | }; |
28 | #endif /* __ASM_ARCH_NAND_H */ | 28 | #endif /* __ASM_ARCH_NAND_H */ |