net: ipa: combine resource type definitions
authorAlex Elder <elder@linaro.org>
Fri, 26 Mar 2021 15:11:15 +0000 (10:11 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Mar 2021 22:02:38 +0000 (15:02 -0700)
commitfd2b7bc3211342e003d00625973318613e0aa2fe
tree4f918241636005f6e0a1a7ed76b0846065628e79
parent9ab7e72882668c5223c55581bdcd44fdf5e9d882
net: ipa: combine resource type definitions

Combine the ipa_resource_type_src and ipa_resource_type_dst
enumerated types into a single enumerated type, ipa_resource_type.

Assign value 0 to the first element for the source and destination
types, so their numeric values are preserved.  Add some additional
commentary where these are defined, stating explicitly that code
assumes the first source and first destination member must have
numeric value 0.

Fix the kerneldoc comments for the ipa_gsi_endpoint_data structure.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_data.h