mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
crypto: qat - change signature of uof_get_num_objs()
Add accel_dev as parameter of the function uof_get_num_objs(). This is in preparation for the introduction of the QAT 420xx driver as it will allow to reconfigure the ae_mask when a configuration that does not require all AEs is loaded on the device. This does not introduce any functional change. Signed-off-by: Jie Wang <jie.wang@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -19,7 +19,7 @@ static int adf_ae_fw_load_images(struct adf_accel_dev *accel_dev, void *fw_addr,
|
||||
int i;
|
||||
|
||||
loader = loader_data->fw_loader;
|
||||
num_objs = hw_device->uof_get_num_objs();
|
||||
num_objs = hw_device->uof_get_num_objs(accel_dev);
|
||||
|
||||
for (i = 0; i < num_objs; i++) {
|
||||
obj_name = hw_device->uof_get_name(accel_dev, i);
|
||||
|
||||
Reference in New Issue
Block a user