Commit e727ee86 authored by Brian Norris's avatar Brian Norris

Merge MTD 4.4 development into MTD -next

We need to be able to build the jz4740_nand driver.
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parents 617f4183 9ca641b0
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <asm/mach-jz4740/gpio.h>
#include <asm/mach-jz4740/jz4740_nand.h> #include <asm/mach-jz4740/jz4740_nand.h>
#define JZ_REG_NAND_CTRL 0x50 #define JZ_REG_NAND_CTRL 0x50
......
...@@ -3110,7 +3110,7 @@ static void nand_resume(struct mtd_info *mtd) ...@@ -3110,7 +3110,7 @@ static void nand_resume(struct mtd_info *mtd)
*/ */
static void nand_shutdown(struct mtd_info *mtd) static void nand_shutdown(struct mtd_info *mtd)
{ {
nand_get_device(mtd, FL_SHUTDOWN); nand_get_device(mtd, FL_PM_SUSPENDED);
} }
/* Set default functions */ /* Set default functions */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment