[RFC][PATCH 06/10] bcma: get CPU clock

Rafał Miłecki zajec5 at gmail.com
Mon Jun 6 06:40:10 EDT 2011


W dniu 6 czerwca 2011 12:34 użytkownik Rafał Miłecki <zajec5 at gmail.com> napisał:
> 2011/6/6 Hauke Mehrtens <hauke at hauke-m.de>:
>> +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ł



More information about the b43-dev mailing list