aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ipa/ipa_main.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-07-19 14:16:39 -0500
committerJakub Kicinski <kuba@kernel.org>2022-07-20 21:03:26 -0700
commitd79e4164d0d51f5a39ee7208823335a5fee902e0 (patch)
treeacb4a82e7db2ca845842db1da5f4d5cf9195a8ac /drivers/net/ipa/ipa_main.c
parentselftests: net: af_unix: Fix a build error of unix_connect.c. (diff)
downloadwireguard-linux-d79e4164d0d51f5a39ee7208823335a5fee902e0.tar.xz
wireguard-linux-d79e4164d0d51f5a39ee7208823335a5fee902e0.zip
net: ipa: add an endpoint device attribute group
Create a new attribute group meant to provide a single place that defines endpoint IDs that might be needed by user space. Not all defined endpoints are presented, and only those that are defined will be made visible. The new attributes use "extended" device attributes to hold endpoint IDs, which is a little more compact and efficient. Reimplement the existing modem endpoint ID attribute files using common code. Signed-off-by: Alex Elder <elder@linaro.org> Link: https://lore.kernel.org/r/20220719191639.373249-1-elder@linaro.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_main.c')
-rw-r--r--drivers/net/ipa/ipa_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_main.c b/drivers/net/ipa/ipa_main.c
index 3757ce3de2c5..b989259b0204 100644
--- a/drivers/net/ipa/ipa_main.c
+++ b/drivers/net/ipa/ipa_main.c
@@ -851,6 +851,7 @@ static void ipa_shutdown(struct platform_device *pdev)
static const struct attribute_group *ipa_attribute_groups[] = {
&ipa_attribute_group,
&ipa_feature_attribute_group,
+ &ipa_endpoint_id_attribute_group,
&ipa_modem_attribute_group,
NULL,
};