diff options
author | Alex Elder <elder@linaro.org> | 2021-03-26 10:11:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-26 15:02:38 -0700 |
commit | 4bcfb35e7af9413a4715ec2c74f51e20043c70e2 (patch) | |
tree | 92546da444e9958e674e2510f5ac7d2a2a631d8c /drivers/dma/mmp_pdma.c | |
parent | fd2b7bc3211342e003d00625973318613e0aa2fe (diff) | |
download | linux-4bcfb35e7af9413a4715ec2c74f51e20043c70e2.tar.bz2 |
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: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dma/mmp_pdma.c')
0 files changed, 0 insertions, 0 deletions