common: Move mii_init() function out of common.h
This function belongs in mii.h so move it over.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
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 enable_interrupts (void);
int disable_interrupts (void);
-/* $(CPU)/.../<eth> */
-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 @@
return cap;
}
+void mii_init(void);
+
#endif /* __LINUX_MII_H__ */