arch/arm/samv7: fix preprocessor logic for ethernet

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2024-10-08 22:19:19 +02:00 committed by Xiang Xiao
parent 5aa48061c9
commit beda2abe3b

View file

@ -243,7 +243,7 @@ int sam_emac_setmacaddr(int intf, uint8_t mac[6]);
*
****************************************************************************/
#if defined(CONFIG_SAMV7_EMAC0_PHYINIT) | defined(CONFIG_SAMV7_EMAC1_PHYINIT)
#if defined(CONFIG_SAMV7_EMAC0_PHYINIT) || defined(CONFIG_SAMV7_EMAC1_PHYINIT)
int sam_phy_boardinitialize(int intf);
#endif