aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 03:46:15 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:24:50 -0800
commitf7bd1e8f3a302378687ded559e865c258d441c89 (patch)
treea8b84a30b862b5e7bc2c46fdca460b03abdcf967 /src
parent12499f97fdeceb7175a4d3847d6b9e2c95ce8b34 (diff)
downloadriscv-openocd-f7bd1e8f3a302378687ded559e865c258d441c89.zip
riscv-openocd-f7bd1e8f3a302378687ded559e865c258d441c89.tar.gz
riscv-openocd-f7bd1e8f3a302378687ded559e865c258d441c89.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/flash/nand/nonce.c2
-rw-r--r--src/flash/nor/faux.c2
-rw-r--r--src/jtag/drivers/dummy.c2
-rw-r--r--src/target/testee.c2
4 files changed, 5 insertions, 3 deletions
diff --git a/src/flash/nand/nonce.c b/src/flash/nand/nonce.c
index f441164..8d15040 100644
--- a/src/flash/nand/nonce.c
+++ b/src/flash/nand/nonce.c
@@ -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,
diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c
index 49a0f72..c996522 100644
--- a/src/flash/nor/faux.c
+++ b/src/flash/nor/faux.c
@@ -23,7 +23,7 @@
#include <flash/flash.h>
#include <target/image.h>
-#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 7370c81..1880712 100644
--- a/src/jtag/drivers/dummy.c
+++ b/src/jtag/drivers/dummy.c
@@ -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 */
diff --git a/src/target/testee.c b/src/target/testee.c
index 4527388..991c64e 100644
--- a/src/target/testee.c
+++ b/src/target/testee.c
@@ -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[] = {
{