]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: implement common reboot notifier boilerplate
authorBrian Norris <computersforpeace@gmail.com>
Wed, 26 Nov 2014 09:01:08 +0000 (01:01 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 8 Jan 2015 01:54:22 +0000 (17:54 -0800)
commit5783736ef92507750e19ab306be9b4ed88f707f0
tree4ad8e184902893b5cffa0159e0bf9fdb2ea753c2
parentde251e6cd8e3dafe8198eefa63d844c14d181915
mtd: implement common reboot notifier boilerplate

cfi_cmdset_000{1,2}.c already implement their own reboot notifiers, and
we're going to add one for NAND. Let's put the boilerplate in one place.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Scott Branden <sbranden@broadcom.com>
drivers/mtd/mtdcore.c
include/linux/mtd/mtd.h