bcma: get CPU clock
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 22 Jul 2011 23:20:11 +0000 (01:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 18:29:29 +0000 (14:29 -0400)
commit908debc8da0d5a91418f71c6a462f62bd2ac69ef
tree886072e213b3a67650a53574be916ec105d15b61
parente3afe0e5be7576ac1282ea9fbbc9b352bb379227
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>
drivers/bcma/bcma_private.h
drivers/bcma/driver_chipcommon_pmu.c
drivers/bcma/driver_mips.c
include/linux/bcma/bcma_driver_chipcommon.h
include/linux/bcma/bcma_driver_mips.h