summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/cpsw_ale.c
diff options
context:
space:
mode:
authorYang Shen <shenyang39@huawei.com>2021-05-17 07:45:32 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-18 00:12:39 +0300
commit85ead77dc3d58adcca7b74afa02c1b2083e4c2ac (patch)
tree1052296a9fd395601e9e82ea71ea94e3f9b51c9d /drivers/net/ethernet/ti/cpsw_ale.c
parent40d9fca8b3fd7c4617c2af064d7ec8124cd79c75 (diff)
downloadlinux-85ead77dc3d58adcca7b74afa02c1b2083e4c2ac.tar.xz
net: ti: Fix wrong struct name in comments
Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/ti/cpsw_ale.c:88: warning: expecting prototype for struct ale_dev_id. Prototype was for struct cpsw_ale_dev_id instead Cc: Cyril Chemparathy <cyril@ti.com> Cc: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Yang Shen <shenyang39@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw_ale.c')
-rw-r--r--drivers/net/ethernet/ti/cpsw_ale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpsw_ale.c b/drivers/net/ethernet/ti/cpsw_ale.c
index d828f856237a..0c75e0576ee1 100644
--- a/drivers/net/ethernet/ti/cpsw_ale.c
+++ b/drivers/net/ethernet/ti/cpsw_ale.c
@@ -70,7 +70,7 @@ enum {
};
/**
- * struct ale_dev_id - The ALE version/SoC specific configuration
+ * struct cpsw_ale_dev_id - The ALE version/SoC specific configuration
* @dev_id: ALE version/SoC id
* @features: features supported by ALE
* @tbl_entries: number of ALE entries