Thread (47 messages) 47 messages, 8 authors, 2011-06-11

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

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ł
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help