mtd: phram: Make phram 64-bit compatible
authorAlexander Sverdlin <alexander.sverdlin@nsn.com>
Wed, 2 Oct 2013 16:42:29 +0000 (18:42 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:32:37 +0000 (23:32 -0800)
commit2a46f83570380ee2f5893a5bb2402ce2945f4f23
tree451c8f1e71f80b5ee25744125da7ad25d6570e00
parent14a95b8a23133f1b21bb3e8b05d24d03ab5722c0
mtd: phram: Make phram 64-bit compatible

phram was 32-bit limited by design. Machines are growing up, but phram
module is still useful. Update it. The patch is bigger than minimum,
because simple_strtoul() is obsolete.

Tested on MIPS64 and compile-tested for PPC (32 bit).

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nsn.com>
Reviewed-by: Joern Engel <joern@logfs.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/phram.c