diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:14:55 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:24:42 -0800 |
commit | 450ceda9aec12a0b67cca8dfbaf0384824cbd6c2 (patch) | |
tree | cbfaa0b50097a98fc303180b1ff1953bf05b80d4 /src/flash/nand | |
parent | 9cbab8d3a6b6157629b75457b79e1b828c78bf6e (diff) | |
download | openocd_libswd-450ceda9aec12a0b67cca8dfbaf0384824cbd6c2.tar.gz openocd_libswd-450ceda9aec12a0b67cca8dfbaf0384824cbd6c2.tar.bz2 openocd_libswd-450ceda9aec12a0b67cca8dfbaf0384824cbd6c2.tar.xz openocd_libswd-450ceda9aec12a0b67cca8dfbaf0384824cbd6c2.zip |
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.
Diffstat (limited to 'src/flash/nand')
-rw-r--r-- | src/flash/nand/lpc3180.c | 2 | ||||
-rw-r--r-- | src/flash/nand/mx3.h | 2 | ||||
-rw-r--r-- | src/flash/nand/nonce.c | 2 | ||||
-rw-r--r-- | src/flash/nand/s3c24xx.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/flash/nand/lpc3180.c b/src/flash/nand/lpc3180.c index 031e6b1d..80284cc6 100644 --- a/src/flash/nand/lpc3180.c +++ b/src/flash/nand/lpc3180.c @@ -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); diff --git a/src/flash/nand/mx3.h b/src/flash/nand/mx3.h index 09289ae2..94dbf0cb 100644 --- a/src/flash/nand/mx3.h +++ b/src/flash/nand/mx3.h @@ -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) diff --git a/src/flash/nand/nonce.c b/src/flash/nand/nonce.c index dae62a72..f4411640 100644 --- a/src/flash/nand/nonce.c +++ b/src/flash/nand/nonce.c @@ -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) diff --git a/src/flash/nand/s3c24xx.h b/src/flash/nand/s3c24xx.h index 38057b27..0f899dad 100644 --- a/src/flash/nand/s3c24xx.h +++ b/src/flash/nand/s3c24xx.h @@ -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 |