]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b1d0aaae71028a77e3258e2bb15ca769dcdea2e
tree7d388e3665542ad9312cc50e347a3d322e236ee0
parent9c45b382c6e87e50d0e0601dfbcaa40afd93b110
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