From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Date: Mon, 6 Jun 2011 12:40:10 +0200 Subject: [RFC][PATCH 06/10] bcma: get CPU clock In-Reply-To: References: <1307311658-15853-1-git-send-email-hauke@hauke-m.de> <1307311658-15853-7-git-send-email-hauke@hauke-m.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Hauke Mehrtens Cc: linux-wireless@vger.kernel.org, linux-mips@linux-mips.org, mb@bu3sch.de, george@znau.edu.ua, arend@broadcom.com, b43-dev@lists.infradead.org, bernhardloos@googlemail.com W dniu 6 czerwca 2011 12:34 u?ytkownik Rafa? Mi?ecki napisa?: > 2011/6/6 Hauke Mehrtens : >> +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?