The of_clk_set_defaults() function is used in subsystems which can
be built as module. Add the missing symbol export entry so there
is no build errors like:
"ERROR: "of_clk_set_defaults" [drivers/i2c/i2c-core.ko] undefined!".
Fixes commit: 86be408bfb
"clk: Support for clock parents and rates assigned from device tree"
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Sylwester Nawrocki <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
There is a cut and paste bug so we check "pclk" instead of "clk".
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
This patch adds helper functions to configure clock parents and rates
as specified through 'assigned-clock-parents', 'assigned-clock-rates'
DT properties for a clock provider or clock consumer device.
The helpers are now being called by the bus code for the platform, I2C
and SPI busses, before the driver probing and also in the clock core
after registration of a clock provider.
Signed-off-by: Sylwester Nawrocki <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>