mtd: brcmnand: do not make local variable static
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 May 2015 15:41:01 +0000 (17:41 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 18 May 2015 18:02:49 +0000 (11:02 -0700)
commitbcb83a19d3ac95fe3c0e79e942fb628120738853
tree7d388e3665542ad9312cc50e347a3d322e236ee0
parent802041247a0abbeaf1dddb8a8d56f491762ae357
mtd: brcmnand: do not make local variable static

Remove static in front of ctrl. This variable should not be shared
between different instances of brcmnand_probe(), it should be local to
this function and stored on the stack.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/brcmnand/brcmnand.c