diff options
Diffstat (limited to 'include/dm/platdata.h')
-rw-r--r-- | include/dm/platdata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/platdata.h b/include/dm/platdata.h index df1f6abcc7..dc3cbfcbc7 100644 --- a/include/dm/platdata.h +++ b/include/dm/platdata.h @@ -59,7 +59,7 @@ struct driver_rt { * When of-platdata is in use, U_BOOT_DRVINFO() cannot be used outside of the * dt-plat.c file created by dtoc */ -#if CONFIG_IS_ENABLED(OF_PLATDATA) && !defined(DT_PLATDATA_C) +#if CONFIG_IS_ENABLED(OF_PLATDATA) && !defined(DT_PLAT_C) #define U_BOOT_DRVINFO(__name) _Static_assert(false, \ "Cannot use U_BOOT_DRVINFO with of-platdata. Please use devicetree instead") #else |