commit | 94cb4ee0f75383327fbeeb91909b342dae3771a5 | [log] [tgz] |
---|---|---|
author | Rostislav Lisovy <lisovy@gmail.com> | Thu Oct 02 14:16:12 2014 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Oct 22 01:33:33 2014 -0700 |
tree | b6bc80b2913e34f09ea900aa4254cb085b9274d9 | |
parent | e66fcf722a74786c500957608f3230e843960b42 [diff] |
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 <lisovy@merica.cz> Acked-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>