From: Zachary T Welch Date: Thu, 3 Dec 2009 11:46:15 +0000 (-0800) Subject: change #include "../hello.h" to "hello.h" X-Git-Tag: v0.4.0-rc1~148 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f7bd1e8f3a302378687ded559e865c258d441c89;p=openocd change #include "../hello.h" to "hello.h" 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. --- diff --git a/src/flash/nand/nonce.c b/src/flash/nand/nonce.c index f4411640..8d15040f 100644 --- a/src/flash/nand/nonce.c +++ b/src/flash/nand/nonce.c @@ -21,6 +21,7 @@ #include "config.h" #endif #include +#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, diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c index 49a0f722..c996522c 100644 --- a/src/flash/nor/faux.c +++ b/src/flash/nor/faux.c @@ -23,7 +23,7 @@ #include #include -#include "../hello.h" +#include "hello.h" struct faux_flash_bank diff --git a/src/jtag/drivers/dummy.c b/src/jtag/drivers/dummy.c index 7370c81d..1880712a 100644 --- a/src/jtag/drivers/dummy.c +++ b/src/jtag/drivers/dummy.c @@ -23,7 +23,7 @@ #include #include "bitbang.h" -#include "../hello.h" +#include "hello.h" /* my private tap controller state, which tracks state for calling code */ diff --git a/src/target/testee.c b/src/target/testee.c index 45273887..991c64e8 100644 --- a/src/target/testee.c +++ b/src/target/testee.c @@ -23,7 +23,7 @@ #include "target.h" #include "target_type.h" #include -#include "../hello.h" +#include "hello.h" static const struct command_registration testee_command_handlers[] = { {