X-Git-Url: https://jxself.org/git/?p=linux-libre-firmware.git;a=blobdiff_plain;f=ath9k_htc%2Ftarget_firmware%2Fmagpie_fw_dev%2Ftarget%2Fcmnos%2Fclock_api.h;h=b268ddbad0722bbe5f48b9794ea34429caf3d5c2;hp=c7aae71f6f0dd6056691a9a242dba8dae3704164;hb=1ba1a88647bfe113c885f985d6e383790dec2a1f;hpb=a2fe6b1f6253377c952c224d4ec9d55b196660ce diff --git a/ath9k_htc/target_firmware/magpie_fw_dev/target/cmnos/clock_api.h b/ath9k_htc/target_firmware/magpie_fw_dev/target/cmnos/clock_api.h index c7aae71..b268ddb 100755 --- a/ath9k_htc/target_firmware/magpie_fw_dev/target/cmnos/clock_api.h +++ b/ath9k_htc/target_firmware/magpie_fw_dev/target/cmnos/clock_api.h @@ -40,16 +40,20 @@ #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_tick)(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); + +#if defined(PROJECT_K2) + A_UINT32 (* _sysclk_get)(void); +#endif + + void (* _clock_tick)(void); }; #endif /* __CLOCK_API_H__ */