From: Tudor Ambarus Date: Fri, 7 Mar 2025 07:09:05 +0000 (+0200) Subject: mtd: spi-nor: explicitly include X-Git-Tag: v6.15-rc1~170^2~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fafa240a179886b387de9e81ce26688d2ca99ad1;p=thirdparty%2Fkernel%2Fstable.git mtd: spi-nor: explicitly include The core driver is using of_property_read_bool() and relies on implicit inclusion of , which comes from . It is good practice to directly include all headers used, it avoids implicit dependencies and spurious breakage if someone rearranges headers and causes the implicit include to vanish. Include the missing header. Reviewed-by: Miquel Raynal Link: https://lore.kernel.org/r/20250307-spi-nor-headers-cleanup-v1-1-c186a9511c1e@linaro.org Signed-off-by: Tudor Ambarus --- diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c index c9b970f35c6b2..1091c83294fa3 100644 --- a/drivers/mtd/spi-nor/core.c +++ b/drivers/mtd/spi-nor/core.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include