[bsp/cvitek/eth]解决编译警告

This commit is contained in:
heyuanjie87 2024-07-03 23:12:54 +08:00 committed by Meco Man
parent 5f70f974d5
commit 776764c4d6
1 changed files with 5 additions and 5 deletions

View File

@ -328,11 +328,11 @@ typedef struct {
uint32_t features;
int8_t name[20];
/* config() should be called before calling start() */
int32_t (*config)(eth_phy_handle_t *phy_dev);
int32_t (*start)(eth_phy_handle_t *phy_dev);
int32_t (*stop)(eth_phy_handle_t *phy_dev);
int32_t (*loopback)(eth_phy_handle_t *phy_dev);
int32_t (*update_link)(eth_phy_handle_t *phy_dev);
int32_t (*config)(eth_phy_handle_t phy_dev);
int32_t (*start)(eth_phy_handle_t phy_dev);
int32_t (*stop)(eth_phy_handle_t phy_dev);
int32_t (*loopback)(eth_phy_handle_t phy_dev);
int32_t (*update_link)(eth_phy_handle_t phy_dev);
} eth_phy_dev_t;
/* ethernet phy config */