[PATCH 1/1] drivers/mtd/nvmxip: nvmxip.h is a global include

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Mon Jul 15 15:19:50 CEST 2024


include/nvmxip.h is a global and not a local include.
So we should use angle brackets.

Fixes: dc3abd8006c5 ("nvmxip: move header to include")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 drivers/mtd/nvmxip/nvmxip-uclass.c | 2 +-
 drivers/mtd/nvmxip/nvmxip.c        | 2 +-
 drivers/mtd/nvmxip/nvmxip_qspi.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/nvmxip/nvmxip-uclass.c b/drivers/mtd/nvmxip/nvmxip-uclass.c
index 95dfa58def1..254f04e0b99 100644
--- a/drivers/mtd/nvmxip/nvmxip-uclass.c
+++ b/drivers/mtd/nvmxip/nvmxip-uclass.c
@@ -8,11 +8,11 @@
 
 #include <dm.h>
 #include <log.h>
+#include <nvmxip.h>
 #if CONFIG_IS_ENABLED(SANDBOX64)
 #include <asm/test.h>
 #endif
 #include <linux/bitops.h>
-#include "nvmxip.h"
 
 /* LBA Macros */
 
diff --git a/drivers/mtd/nvmxip/nvmxip.c b/drivers/mtd/nvmxip/nvmxip.c
index 229938db380..594500f0c65 100644
--- a/drivers/mtd/nvmxip/nvmxip.c
+++ b/drivers/mtd/nvmxip/nvmxip.c
@@ -9,10 +9,10 @@
 #include <dm.h>
 #include <log.h>
 #include <mapmem.h>
+#include <nvmxip.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
 #include <linux/errno.h>
-#include "nvmxip.h"
 
 /**
  * nvmxip_blk_read() - block device read operation
diff --git a/drivers/mtd/nvmxip/nvmxip_qspi.c b/drivers/mtd/nvmxip/nvmxip_qspi.c
index 460887c7da3..f14a822b5d5 100644
--- a/drivers/mtd/nvmxip/nvmxip_qspi.c
+++ b/drivers/mtd/nvmxip/nvmxip_qspi.c
@@ -8,8 +8,8 @@
 
 #include <dm.h>
 #include <fdt_support.h>
+#include <nvmxip.h>
 #include <linux/errno.h>
-#include "nvmxip.h"
 
 #include <asm/global_data.h>
 DECLARE_GLOBAL_DATA_PTR;
-- 
2.45.2



More information about the U-Boot mailing list