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>
This commit is contained in:
Paul Mundt
2011-03-22 22:43:09 +09:00
parent 2a03cfbd90
commit f47adbb988
2 changed files with 2 additions and 63 deletions

View File

@@ -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,