From 68a6aa85ecbab5696fdcf970fdd7b7fe5a967146 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:31 -0700 Subject: common: Move mii_init() function out of common.h This function belongs in mii.h so move it over. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- include/common.h | 3 --- include/linux/mii.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index cc5f13e..9926751 100644 --- a/include/common.h +++ b/include/common.h @@ -254,9 +254,6 @@ void reset_timer (void); void enable_interrupts (void); int disable_interrupts (void); -/* $(CPU)/.../ */ -void mii_init (void); - /* arch/$(ARCH)/lib/cache.c */ void enable_caches(void); void flush_cache (unsigned long, unsigned long); diff --git a/include/linux/mii.h b/include/linux/mii.h index 21db032..49e29ac 100644 --- a/include/linux/mii.h +++ b/include/linux/mii.h @@ -225,4 +225,6 @@ static inline u8 mii_resolve_flowctrl_fdx(u16 lcladv, u16 rmtadv) return cap; } +void mii_init(void); + #endif /* __LINUX_MII_H__ */ -- cgit v1.1