diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2011-07-22 19:20:11 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 14:29:29 -0400 |
commit | 908debc8da0d5a91418f71c6a462f62bd2ac69ef (patch) | |
tree | 886072e213b3a67650a53574be916ec105d15b61 /drivers/bcma/bcma_private.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 'drivers/bcma/bcma_private.h')
-rw-r--r-- | drivers/bcma/bcma_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/bcma_private.h b/drivers/bcma/bcma_private.h index 22d3052e1906..30a3085d3354 100644 --- a/drivers/bcma/bcma_private.h +++ b/drivers/bcma/bcma_private.h | |||
@@ -36,6 +36,7 @@ void bcma_chipco_serial_init(struct bcma_drv_cc *cc); | |||
36 | 36 | ||
37 | /* driver_chipcommon_pmu.c */ | 37 | /* driver_chipcommon_pmu.c */ |
38 | u32 bcma_pmu_alp_clock(struct bcma_drv_cc *cc); | 38 | u32 bcma_pmu_alp_clock(struct bcma_drv_cc *cc); |
39 | u32 bcma_pmu_get_clockcpu(struct bcma_drv_cc *cc); | ||
39 | 40 | ||
40 | #ifdef CONFIG_BCMA_HOST_PCI | 41 | #ifdef CONFIG_BCMA_HOST_PCI |
41 | /* host_pci.c */ | 42 | /* host_pci.c */ |