aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/marvell/mv643xx_eth.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c
index 23ea7b6e23f1..c7f9fb33ce95 100644
--- a/drivers/net/ethernet/marvell/mv643xx_eth.c
+++ b/drivers/net/ethernet/marvell/mv643xx_eth.c
@@ -2582,12 +2582,14 @@ static void mv643xx_eth_shared_of_remove(void)
2582 } 2582 }
2583} 2583}
2584#else 2584#else
2585static int mv643xx_eth_shared_of_probe(struct platform_device *pdev) 2585static inline int mv643xx_eth_shared_of_probe(struct platform_device *pdev)
2586{ 2586{
2587 return 0 2587 return 0;
2588} 2588}
2589 2589
2590#define mv643xx_eth_shared_of_remove() 2590static inline void mv643xx_eth_shared_of_remove(void)
2591{
2592}
2591#endif 2593#endif
2592 2594
2593static int mv643xx_eth_shared_probe(struct platform_device *pdev) 2595static int mv643xx_eth_shared_probe(struct platform_device *pdev)