ols: don't use deprecated hwcap_get_all() driver API call

This commit is contained in:
Bert Vermeulen 2012-07-15 04:32:53 +02:00
parent 2ce9f04629
commit 2ca4465b3d
1 changed files with 3 additions and 0 deletions

View File

@ -593,6 +593,9 @@ static int hw_info_get(int info_id, const void **data,
case SR_DI_INST: case SR_DI_INST:
*data = sdi; *data = sdi;
break; break;
case SR_DI_HWCAPS:
*data = hwcaps;
break;
case SR_DI_NUM_PROBES: case SR_DI_NUM_PROBES:
*data = GINT_TO_POINTER(1); *data = GINT_TO_POINTER(1);
break; break;