]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc2f0b92bcacefe1dd3c3557f779cb54bde4ee9b
tree4f918241636005f6e0a1a7ed76b0846065628e79
parent7ee9c8a1c9636a6140d05f0f13ee6b712599a7f3
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