summaryrefslogtreecommitdiffstats
path: root/test/parser/parser-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/parser-test.h')
-rw-r--r--test/parser/parser-test.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parser/parser-test.h b/test/parser/parser-test.h
index df9670f..7e43a68 100644
--- a/test/parser/parser-test.h
+++ b/test/parser/parser-test.h
@@ -9,6 +9,7 @@
struct parser_test {
struct device_handler *handler;
struct discover_context *ctx;
+ struct config *config;
struct {
void *buf;
size_t size;
@@ -19,7 +20,7 @@ struct parser_test {
void __register_parser(struct parser *parser);
/* test functions */
-struct discover_device *test_create_device(struct discover_context *ctx,
+struct discover_device *test_create_device(struct parser_test *test,
const char *name);
#define test_read_conf_data(t, d) \
OpenPOWER on IntegriCloud