From: Rostislav Lisovy Date: Wed, 4 Jun 2014 14:24:35 +0000 (+0200) Subject: ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc() X-Git-Tag: omap-for-v3.17/fixes-not-urgent-signed^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97a288ba2cfaf18ae2a8d19b8d9ea8cb3fbe301a;p=pandora-kernel.git 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 Signed-off-by: Roger Quadros --- Reading git-diff-tree failed