diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2019-12-12 23:53:19 +0100 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2020-01-26 12:03:06 +0100 |
commit | efbdad3838c37722c07de0814f07e1b65955d1e7 (patch) | |
tree | c9f4ecfd1ada3f0d05eb3846d3df9d78956f88ca /drivers/power/axp221.c | |
parent | 5dcac2b9b3bd14748b68cadd3f855369c8926f05 (diff) |
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: Giulio Benetti <giulio.benetti@benettiengineering.com>
Diffstat (limited to 'drivers/power/axp221.c')
0 files changed, 0 insertions, 0 deletions