diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2011-07-23 01:20:11 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 14:29:29 -0400 |
commit | 908debc8da0d5a91418f71c6a462f62bd2ac69ef (patch) | |
tree | 886072e213b3a67650a53574be916ec105d15b61 /include/linux/bcma/bcma_driver_mips.h | |
parent | e3afe0e5be7576ac1282ea9fbbc9b352bb379227 (diff) |
bcma: get CPU clock
Add method to return the clock of the CPU. This is needed by the arch
code to calculate the mips_hpt_frequency.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/bcma/bcma_driver_mips.h')
-rw-r--r-- | include/linux/bcma/bcma_driver_mips.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma_driver_mips.h b/include/linux/bcma/bcma_driver_mips.h index 82b3bfd32c7..c0043645cdc 100644 --- a/include/linux/bcma/bcma_driver_mips.h +++ b/include/linux/bcma/bcma_driver_mips.h @@ -44,6 +44,8 @@ extern void bcma_core_mips_init(struct bcma_drv_mips *mcore); static inline void bcma_core_mips_init(struct bcma_drv_mips *mcore) { } #endif +extern u32 bcma_cpu_clock(struct bcma_drv_mips *mcore); + extern unsigned int bcma_core_mips_irq(struct bcma_device *dev); #endif /* LINUX_BCMA_DRIVER_MIPS_H_ */ |