author | Rostislav Lisovy <lisovy@gmail.com> | |
Wed, 9 Jul 2014 12:21:19 +0000 (14:21 +0200) | ||
committer | Sekhar Nori <nsekhar@ti.com> | |
Mon, 21 Jul 2014 12:49:59 +0000 (18:19 +0530) | ||
commit | e50b5e5b5bc32842d5975a7ff66b8bb2fb0895df | |
tree | d9dcb8ce4707d488cc653710a204079361fe67fd | tree | snapshot (tar.xz tar.gz zip) |
parent | bb16cc1da3af7fc9c86e188d1533d90ce5d13bc9 | commit | diff |
ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()
GPMC controller supports up to 8 memory devices connected to it.
Since there is one statically allocated "struct platform_device
gpmc_nand_device" it is not possible to configure the system to
use more than one NAND device connected to the GPMC. This
modification makes it possible to use up to 8 NAND devices
connected to the GPMC controller.
Signed-off-by: Rostislav Lisovy <lisovy@merica.cz>
[nsekhar@ti.com: fixed a 80-char line checkpatch warning]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
GPMC controller supports up to 8 memory devices connected to it.
Since there is one statically allocated "struct platform_device
gpmc_nand_device" it is not possible to configure the system to
use more than one NAND device connected to the GPMC. This
modification makes it possible to use up to 8 NAND devices
connected to the GPMC controller.
Signed-off-by: Rostislav Lisovy <lisovy@merica.cz>
[nsekhar@ti.com: fixed a 80-char line checkpatch warning]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-omap2/gpmc-nand.c | diff | blob | history |