2011/6/6 Hauke Mehrtens <[email protected]>: > +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. -- Rafał _______________________________________________ b43-dev mailing list [email protected] http://lists.infradead.org/mailman/listinfo/b43-dev
