]> 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)
commit0c8294e737b463238d71b20c3f77f8c6e4c6c15f
tree4ad8e184902893b5cffa0159e0bf9fdb2ea753c2
parenta140284c12e927b502c4af32d73a10c993fcaae4
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