summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/spi-nor.h2
1 files changed, 1 insertions, 1 deletions
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