From f31fa99a9ed92c223fbf56e07eae57e7bdea19ae Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 28 Dec 2020 20:35:01 -0700 Subject: 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 --- include/dm/platdata.h | 2 +- include/linux/mtd/spi-nor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h index 363f2749d7..4a8e19ee4f 100644 --- a/include/linux/mtd/spi-nor.h +++ b/include/linux/mtd/spi-nor.h @@ -262,7 +262,7 @@ struct spi_flash { * Defined below (keep this text to enable searching for spi_flash decl) * } */ -#ifndef DT_PLATDATA_C +#ifndef DT_PLAT_C #define spi_flash spi_nor #endif -- cgit