mirror of https://gitee.com/openkylin/linux.git
Merge MTD 4.4 development into MTD -next
We need to be able to build the jz4740_nand driver. Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
commit
e727ee86d9
|
@ -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)
|
||||||
*/
|
*/
|
||||||
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 */
|
||||||
|
|
Loading…
Reference in New Issue