BeagleBone Green Wireless

解決"ERROR: "clk_register_min_divider" ... undefined!"


drivers/clk/clk-divider.c

struct clk *clk_register_min_divider(struct device *dev, const char *name,
    const char *parent_name, unsigned long flags,
    void __iomem *reg, u8 shift, u8 width, u8 min_div,
    u8 clk_divider_flags, spinlock_t *lock)
{
  return _register_divider(dev, name, parent_name, flags, reg, shift,
      width, min_div, clk_divider_flags, NULL, lock);
}
EXPORT_SYMBOL(clk_register_min_divider);

P.S. 新增EXPORT_SYMBOL即可


返回上一頁