diff options
author | Bryan Brattlof <bb@ti.com> | 2024-03-12 15:20:20 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-03-13 10:10:04 -0400 |
commit | c59d3746d6812fbd5ec1349041e9ea787c8a89b3 (patch) | |
tree | 745caa0f4d8854b9c1e33cce285414e141c20a2d /drivers/power/domain | |
parent | 026c972fa324ee749c3531c05c63a996f503ce06 (diff) | |
download | u-boot-c59d3746d6812fbd5ec1349041e9ea787c8a89b3.zip u-boot-c59d3746d6812fbd5ec1349041e9ea787c8a89b3.tar.gz u-boot-c59d3746d6812fbd5ec1349041e9ea787c8a89b3.tar.bz2 |
power: domain: ti: use IS_ENABLED macro
Cleanup this list and standardize on using the IS_ENABLED macro for the
power domain data list.
Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Bryan Brattlof <bb@ti.com>
Diffstat (limited to 'drivers/power/domain')
-rw-r--r-- | drivers/power/domain/ti-power-domain.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power/domain/ti-power-domain.c index fb4ca2d..8fa9892 100644 --- a/drivers/power/domain/ti-power-domain.c +++ b/drivers/power/domain/ti-power-domain.c @@ -81,19 +81,20 @@ static const struct soc_attr ti_k3_soc_pd_data[] = { .family = "J7200", .data = &j7200_pd_platdata, }, -#elif CONFIG_SOC_K3_J721S2 +#endif +#if IS_ENABLED(CONFIG_SOC_K3_J721S2) { .family = "J721S2", .data = &j721s2_pd_platdata, }, #endif -#ifdef CONFIG_SOC_K3_AM625 +#if IS_ENABLED(CONFIG_SOC_K3_AM625) { .family = "AM62X", .data = &am62x_pd_platdata, }, #endif -#ifdef CONFIG_SOC_K3_AM62A7 +#if IS_ENABLED(CONFIG_SOC_K3_AM62A7) { .family = "AM62AX", .data = &am62ax_pd_platdata, |