]> git.sur5r.net Git - openocd/commitdiff
change #include "../hello.h" to "hello.h"
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 11:46:15 +0000 (03:46 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:24:50 +0000 (04:24 -0800)
Before we can -I the top-level src/ directory alone, references to
"hello.h" must be updated.  This is an internal header, so it does
not need angle brackets.

src/flash/nand/nonce.c
src/flash/nor/faux.c
src/jtag/drivers/dummy.c
src/target/testee.c

index f4411640a190f51c0f679ac875b7b273455155a8..8d15040ffacb0cca08c432ccc646a797118b1ee0 100644 (file)
@@ -21,6 +21,7 @@
 #include "config.h"
 #endif
 #include <flash/nand.h>
+#include "hello.h"
 
 
 static int nonce_nand_command(struct nand_device *nand, uint8_t command)
@@ -68,6 +69,7 @@ static int nonce_nand_init(struct nand_device *nand)
 struct nand_flash_controller nonce_nand_controller =
 {
        .name                   = "nonce",
+       .commands               = hello_command_handlers,
        .nand_device_command    = &nonce_nand_device_command,
        .init                   = &nonce_nand_init,
        .reset                  = &nonce_nand_reset,
index 49a0f722bf54544463f8dce34ada9880e8133cd9..c996522c58388050392c574de65fa965351f528d 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <flash/flash.h>
 #include <target/image.h>
-#include "../hello.h"
+#include "hello.h"
 
 
 struct faux_flash_bank
index 7370c81dc5e6a62021c107ba0dd079fc2c0df17d..1880712a82c439469f770b33d15269eafeacdff0 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <jtag/interface.h>
 #include "bitbang.h"
-#include "../hello.h"
+#include "hello.h"
 
 
 /* my private tap controller state, which tracks state for calling code */
index 45273887b81852b42f425e3fae67de6ba80c6c8c..991c64e85f4cffef1524c7095cfefa7b65126070 100644 (file)
@@ -23,7 +23,7 @@
 #include "target.h"
 #include "target_type.h"
 #include <helper/log.h>
-#include "../hello.h"
+#include "hello.h"
 
 static const struct command_registration testee_command_handlers[] = {
        {