From 1fd5630e86bdbe3d476d9f5613fe20fd08112c5d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 11 Nov 2013 08:25:47 +0100 Subject: [PATCH] new-driver: Update for probe groups changes. --- source/drv-api.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/source/drv-api.c b/source/drv-api.c index ae594f1..8bfe5fd 100644 --- a/source/drv-api.c +++ b/source/drv-api.c @@ -85,12 +85,14 @@ static int cleanup(void) return SR_OK; } -static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi) +static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi, + const struct sr_probe_group *probe_group) { int ret; (void)sdi; (void)data; + (void)probe_group; ret = SR_OK; switch (key) { @@ -102,11 +104,13 @@ static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi) return ret; } -static int config_set(int key, GVariant *data, const struct sr_dev_inst *sdi) +static int config_set(int key, GVariant *data, const struct sr_dev_inst *sdi, + const struct sr_probe_group *probe_group) { int ret; (void)data; + (void)probe_group; if (sdi->status != SR_ST_ACTIVE) return SR_ERR_DEV_CLOSED; @@ -121,12 +125,14 @@ static int config_set(int key, GVariant *data, const struct sr_dev_inst *sdi) return ret; } -static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi) +static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi, + const struct sr_probe_group *probe_group) { int ret; (void)sdi; (void)data; + (void)probe_group; ret = SR_OK; switch (key) { -- 2.30.2