change #include "nand.h" to <flash/nand.h>
Changes from the flat namespace to heirarchical one. Instead of writing: #include "nand.h" the following form should be used. #include <flash/nand.h> The exception is from .c files in the same directory.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef __ARM_NANDIO_H
|
||||
#define __ARM_NANDIO_H
|
||||
|
||||
#include "nand.h"
|
||||
#include <flash/nand.h>
|
||||
#include <helper/binarybuffer.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#endif
|
||||
|
||||
#include "lpc3180.h"
|
||||
#include "nand.h"
|
||||
#include <flash/nand.h>
|
||||
|
||||
static int lpc3180_reset(struct nand_device *nand);
|
||||
static int lpc3180_controller_ready(struct nand_device *nand, int timeout);
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*
|
||||
* Many thanks to Ben Dooks for writing s3c24xx driver.
|
||||
*/
|
||||
#include "nand.h"
|
||||
#include <flash/nand.h>
|
||||
|
||||
#define MX3_NF_BASE_ADDR 0xb8000000
|
||||
#define MX3_NF_BUFSIZ (MX3_NF_BASE_ADDR + 0xe00)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include "nand.h"
|
||||
#include <flash/nand.h>
|
||||
|
||||
|
||||
static int nonce_nand_command(struct nand_device *nand, uint8_t command)
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
* Many thanks to Simtec Electronics for sponsoring this work.
|
||||
*/
|
||||
|
||||
#include "nand.h"
|
||||
#include <flash/nand.h>
|
||||
#include "s3c24xx_regs.h"
|
||||
|
||||
struct s3c24xx_nand_controller
|
||||
|
||||
Reference in New Issue
Block a user