From: Heinrich Schuchardt Date: Mon, 15 Jul 2024 13:19:50 +0000 (+0200) Subject: drivers/mtd/nvmxip: nvmxip.h is a global include X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/index.xml?a=commitdiff_plain;h=42f84b0ef34eefe2947c7d329e7a3ea630a401af;p=u-boot.git drivers/mtd/nvmxip: nvmxip.h is a global include 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 --- diff --git a/drivers/mtd/nvmxip/nvmxip-uclass.c b/drivers/mtd/nvmxip/nvmxip-uclass.c index 95dfa58def..254f04e0b9 100644 --- a/drivers/mtd/nvmxip/nvmxip-uclass.c +++ b/drivers/mtd/nvmxip/nvmxip-uclass.c @@ -8,11 +8,11 @@ #include #include +#include #if CONFIG_IS_ENABLED(SANDBOX64) #include #endif #include -#include "nvmxip.h" /* LBA Macros */ diff --git a/drivers/mtd/nvmxip/nvmxip.c b/drivers/mtd/nvmxip/nvmxip.c index 229938db38..594500f0c6 100644 --- a/drivers/mtd/nvmxip/nvmxip.c +++ b/drivers/mtd/nvmxip/nvmxip.c @@ -9,10 +9,10 @@ #include #include #include +#include #include #include #include -#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 460887c7da..f14a822b5d 100644 --- a/drivers/mtd/nvmxip/nvmxip_qspi.c +++ b/drivers/mtd/nvmxip/nvmxip_qspi.c @@ -8,8 +8,8 @@ #include #include +#include #include -#include "nvmxip.h" #include DECLARE_GLOBAL_DATA_PTR;