Skip to content

Commit 3d97fe6

Browse files
khoa-nguyen-18KhiemNguyenT
authored andcommitted
hal: renesas: ra: Remove const for p_phy_lsi_cfg_list
Remove const to allow changing the value at runtime for ``p_phy_lsi_cfg_list`` in ra/fsp/inc/instances/r_ether_phy.h Signed-off-by: Khoa Nguyen <[email protected]>
1 parent 23b4e6c commit 3d97fe6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drivers/ra/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ Patch List:
8585
drivers/ra/fsp/src/r_ether_phy/targets/KSZ8091RNB/r_ether_phy_target_ksz8091rnb.c
8686
drivers/ra/fsp/inc/instances/r_ether.h
8787

88+
* Remove const to allow changing the value at runtime for ``p_phy_lsi_cfg_list``
89+
Impacted files:
90+
drivers/ra/fsp/inc/instances/r_ether_phy.h
91+
8892
* Create new USB device support for Zephyr HAL (do not use current FSP USB stack)
8993
Impacted files:
9094
drivers/ra/fsp/inc/api/r_usb_device_api.h

drivers/ra/fsp/inc/instances/r_ether_phy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ typedef struct st_ether_phy_extended_cfg
5959
{
6060
void (* p_target_init)(ether_phy_instance_ctrl_t * p_instance_ctrl); ///< Pointer to callback that is called to initialize the target.
6161
bool (* p_target_link_partner_ability_get)(ether_phy_instance_ctrl_t * p_instance_ctrl, uint32_t line_speed_duplex); ///< Pointer to callback that is called to get the link partner ability.
62-
ether_phy_lsi_cfg_t const * p_phy_lsi_cfg_list[BSP_FEATURE_ETHER_MAX_CHANNELS]; ///< Pointer list of PHY LSI configurations.
62+
ether_phy_lsi_cfg_t * p_phy_lsi_cfg_list[BSP_FEATURE_ETHER_MAX_CHANNELS]; ///< Pointer list of PHY LSI configurations.
6363
} ether_phy_extended_cfg_t;
6464

6565
/**********************************************************************************************************************

0 commit comments

Comments
 (0)