Skip to content
Snippets Groups Projects
Commit efbdad38 authored by Giulio Benetti's avatar Giulio Benetti Committed by Lukasz Majewski
Browse files

clk: uclass: clk_get_by_name() must not be available if CONFIG_OF_PLATDATA is enabled


clk_get_by_name() requires clk_get_by_id() that is not available if
CONFIG_OF_PLATDATA is defined, so move clk_get_by_name() into #else
condition of #if CONFIG_IS_ENABLED(OF_PLATDATA).

Signed-off-by: default avatarGiulio Benetti <giulio.benetti@benettiengineering.com>
parent 5dcac2b9
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment