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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



W dniu 6 czerwca 2011 12:34 uÅytkownik RafaÅ MiÅecki <zajec5@xxxxxxxxx> napisaÅ:
> 2011/6/6 Hauke Mehrtens <hauke@xxxxxxxxxx>:
>> +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Å



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux