Re: [RFC][PATCH 06/10] bcma: get CPU clock
From: Rafał Miłecki <zajec5@gmail.com>
Date: 2011-06-06 10:40:19
Also in:
linux-mips
From: Rafał Miłecki <zajec5@gmail.com>
Date: 2011-06-06 10:40:19
Also in:
linux-mips
W dniu 6 czerwca 2011 12:34 użytkownik Rafał Miłecki [off-list ref] napisał:
2011/6/6 Hauke Mehrtens [off-list ref]:quoted
+u32 bcma_cpu_clock(struct bcma_drv_mips *mcore) +{ + struct bcma_bus *bus = mcore->core->bus; + + if (bus->drv_cc.capabilities & BCMA_CC_CAP_PMU) + return bcma_pmu_get_clockcpu(&bus->drv_cc); + + pr_err("No PMU available, need this to get the cpu clock\n"); + return 0; +} +EXPORT_SYMBOL(bcma_cpu_clock);Are you really going to use this in some separated driver? If you're, I heard that exporting symbol should go in pair with patch enabling usage of such a symbol.
I've just read patch 09/10, sorry for the noise :) -- Rafał