• Alex Elder's avatar
    net: ipa: combine resource type definitions · fd2b7bc3
    Alex Elder authored
    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: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    fd2b7bc3
ipa_data.h 11.5 KB