From: Bert Vermeulen Date: Sun, 15 Jul 2012 02:32:53 +0000 (+0200) Subject: ols: don't use deprecated hwcap_get_all() driver API call X-Git-Tag: dsupstream~792 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2ca4465b3d66d3b763e664c419b542a3d1c1baad;p=libsigrok.git ols: don't use deprecated hwcap_get_all() driver API call --- diff --git a/hardware/openbench-logic-sniffer/ols.c b/hardware/openbench-logic-sniffer/ols.c index e486d519..d2cda236 100644 --- a/hardware/openbench-logic-sniffer/ols.c +++ b/hardware/openbench-logic-sniffer/ols.c @@ -593,6 +593,9 @@ static int hw_info_get(int info_id, const void **data, case SR_DI_INST: *data = sdi; break; + case SR_DI_HWCAPS: + *data = hwcaps; + break; case SR_DI_NUM_PROBES: *data = GINT_TO_POINTER(1); break;