summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-28 20:35:01 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:26:35 -0700
commitf31fa99a9ed92c223fbf56e07eae57e7bdea19ae (patch)
tree77464608e5ade074862d786989a966016974ebc1 /include/dm
parentd1055d681af40963d1c4b1a517ae131f738983f4 (diff)
downloadu-boot-f31fa99a9ed92c223fbf56e07eae57e7bdea19ae.tar.gz
dtoc: Rename dt-platdata.c to dt-plat.c
Use this new name to be consistent with the rest of U-Boot, which talks about 'plat' for the platform data, which is what this file holds. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/platdata.h2
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