mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
d1055d681a
commit
f31fa99a9e
5 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue