diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 22:43:09 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 22:43:09 +0900 |
commit | f47adbb988aa4436135799fd26710bff2c1b1eb6 (patch) | |
tree | 96fb28048f333fd853f61988dc9750302b0b63cc /arch/sh/boards/board-edosk7760.c | |
parent | 2a03cfbd906dc9bbf5e9a97727cf4ba1889d4829 (diff) |
sh: Conver to asm-generic/sizes.h.
A trivial conversion for the most part. EDOSK7760 is special, but uses a
non-power-of-2-aligned size, so just drop the SZ_xx helper and open-code
it for the sake of simplicity.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/board-edosk7760.c')
-rw-r--r-- | arch/sh/boards/board-edosk7760.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/board-edosk7760.c b/arch/sh/boards/board-edosk7760.c index f47ac82da87..e9656a2cc4c 100644 --- a/arch/sh/boards/board-edosk7760.c +++ b/arch/sh/boards/board-edosk7760.c @@ -56,7 +56,7 @@ static struct mtd_partition edosk7760_nor_flash_partitions[] = { }, { .name = "fs", .offset = MTDPART_OFS_APPEND, - .size = SZ_26M, + .size = (26 << 20), }, { .name = "other", .offset = MTDPART_OFS_APPEND, |