From: Rostislav Lisovy Date: Thu, 2 Oct 2014 12:16:12 +0000 (+0200) Subject: mtd: nand: omap: Do not use global variables X-Git-Tag: omap-for-v3.19/fixes-rc1~56^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94cb4ee0f75383327fbeeb91909b342dae3771a5;p=pandora-kernel.git mtd: nand: omap: Do not use global variables Since the commit 97a288ba2cfa ("ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()") gpmc-nand driver supports multiple NAND flash devices connected to the single controller. Remove global variable to make the code thread-safe. Signed-off-by: Rostislav Lisovy Acked-by: Roger Quadros Signed-off-by: Brian Norris --- Reading git-diff-tree failed