]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: hisilicon: kunpeng_hccs: Fix the 'lane_mode' field name in port info structure...
authorHuisong Li <lihuisong@huawei.com>
Wed, 28 Aug 2024 10:49:54 +0000 (18:49 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Mon, 14 Oct 2024 08:54:49 +0000 (08:54 +0000)
commitb51878373a81bda3a790fd936507fd0643ef98b3
treef3879c8df3ce908ee0247da6dc1aca5894a691aa
parent3400c85f6400dc907d686d319faad25956ac4db1
soc: hisilicon: kunpeng_hccs: Fix the 'lane_mode' field name in port info structure to 'max_lane_num'

The lane mode of HCCS port is an information to user, and actually comes
from the maximum lane number. But it is good and easy for driver to use
the maximum lane number. So fix the 'lane_mode' field name in port info
structure to 'max_lane_num'.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
drivers/soc/hisilicon/kunpeng_hccs.c
drivers/soc/hisilicon/kunpeng_hccs.h