remove duplicate: clock_api.h
[open-ath9k-htc-firmware.git] / target_firmware / magpie_fw_dev / target / cmnos / clock_api.h
index 82b80fe1f33fc0691a9a44738478dab05ff1c1dd..b268ddbad0722bbe5f48b9794ea34429caf3d5c2 100755 (executable)
 #define MSEC_TO_TICK(msec)             ((msec)* TICK_MSEC_RATIO)
 
 struct clock_api {
-    void (* _clock_init)(A_UINT32 ref_clk);
-    void (* _clockregs_init)(void);
-    A_UINT32 (* _uart_frequency)(void);
-    void (* _delay_us)(int);
-    void (* _wlan_band_set)(int);
-    A_UINT32 (* _refclk_speed_get)(void);
-    A_UINT32 (* _milliseconds)(void);
-    void (* _sysclk_change)(void);
+       void (* _clock_init)(A_UINT32 ref_clk);
+       void (* _clockregs_init)(void);
+       A_UINT32 (* _uart_frequency)(void);
+       void (* _delay_us)(int);
+       void (* _wlan_band_set)(int);
+       A_UINT32 (* _refclk_speed_get)(void);
+       A_UINT32 (* _milliseconds)(void);
+       void (* _sysclk_change)(void);
 
-    void (* _clock_tick)(void);
+#if defined(PROJECT_K2)
+       A_UINT32 (* _sysclk_get)(void);
+#endif
+
+       void (* _clock_tick)(void);
 };
 
 #endif /* __CLOCK_API_H__ */