[bsp/cvitek]将eth驱动中地址类型改为指针以适应ioremap (#9137)

ioremap后地址可能超32位
This commit is contained in:
heyuanjie87 2024-07-11 10:28:02 +08:00 committed by GitHub
parent ba105bc686
commit 6180dabab3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -672,7 +672,7 @@ int32_t cvi_eth_mac_read_frame(eth_mac_handle_t handle, uint8_t *frame, uint32_t
\param[in] cb callback to handle ethernet event \param[in] cb callback to handle ethernet event
\return return ethernet handle if success \return return ethernet handle if success
*/ */
eth_mac_handle_t cvi_eth_mac_init(unsigned int base) eth_mac_handle_t cvi_eth_mac_init(unsigned int *base)
{ {
gmac_dev_t *mac_dev = &gmac_instance[0]; gmac_dev_t *mac_dev = &gmac_instance[0];
struct dw_gmac_priv *priv, *priv_unalign; struct dw_gmac_priv *priv, *priv_unalign;