Commit 5bdc39cd authored by Alex Elder's avatar Alex Elder
Browse files

net: ipa: index resource limits with type



Remove the type field from the ipa_resource_src and ipa_resource_dst
structures, and instead use that value as the index into the arrays
of source and destination resources.

Change ipa_resource_config_src() and ipa_resource_config_dst() so
the resource type is passed in as an argument.

Signed-off-by: default avatarAlex Elder <elder@linaro.org>
parent 376917f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment