ramips: implement clock API for RT288x
[openwrt/openwrt.git] / target / linux / ramips / files / arch / mips / include / asm / mach-ralink / rt288x.h
index a804488f085b76f27745d3eb5cb49a2bd26f724d..3eb036fbb891c6672974cac88ed1bb5f499ff2fc 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Ralink RT288x SoC specific definitions
  *
- * Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org>
+ * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
  * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
  *
  * Parts of this file are based on Ralink's 2.6.21 BSP
 #include <linux/init.h>
 #include <linux/io.h>
 
-void rt288x_detect_sys_type(void) __init;
-void rt288x_detect_sys_freq(void) __init;
-
-extern unsigned long rt288x_cpu_freq;
-extern unsigned long rt288x_sys_freq;
+void rt288x_detect_sys_type(void);
 
 #define RT288X_CPU_IRQ_BASE    0
 #define RT288X_INTC_IRQ_BASE   8
@@ -68,6 +64,6 @@ static inline u32 rt288x_memc_rr(unsigned reg)
        return __raw_readl(rt288x_memc_base + reg);
 }
 
-void rt288x_gpio_init(u32 mode) __init;
+void rt288x_gpio_init(u32 mode);
 
 #endif /* _RT228X_H_ */