Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff20877a authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller
Browse files

net: mv643xx_eth: add missing semicolon



76723bca "net: mv643xx_eth: add DT parsing support" added a
dummy mv643xx_eth_shared_of_probe() fallback function with a
typo.

This adds the missing semicolon so we can build without CONFIG_OF
again, and changes both dummy functions to the more conventional
"static inline" syntax, which can avoid potential problems with
the empty macro.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6f45eba1
Loading
Loading
Loading
Loading
+5 −3
Original line number Original line Diff line number Diff line
@@ -2582,12 +2582,14 @@ static void mv643xx_eth_shared_of_remove(void)
	}
	}
}
}
#else
#else
static int mv643xx_eth_shared_of_probe(struct platform_device *pdev)
static inline int mv643xx_eth_shared_of_probe(struct platform_device *pdev)
{
{
	return 0
	return 0;
}
}


#define mv643xx_eth_shared_of_remove()
static inline void mv643xx_eth_shared_of_remove(void)
{
}
#endif
#endif


static int mv643xx_eth_shared_probe(struct platform_device *pdev)
static int mv643xx_eth_shared_probe(struct platform_device *pdev)