net: ti: Fix wrong struct name in comments
authorYang Shen <shenyang39@huawei.com>
Mon, 17 May 2021 04:45:32 +0000 (12:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 21:12:39 +0000 (14:12 -0700)
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>
drivers/net/ethernet/ti/cpsw_ale.c

index d828f856237ad08b2ad73adb39c958c9ec9cbfc5..0c75e0576ee1f0817e1212ed3b785ed57b99e610 100644 (file)
@@ -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